base prefix rdf: select ?T ?A from where { rdf:type ?T ; ?A }