prefix rdfs: prefix foaf: prefix rdf: # all statements with an other property than foaf:name, rdfs:label, or rdfs:type CONSTRUCT { ?X ?P ?V . } WHERE { ?X ?P ?V . FILTER( ?P != foaf:name ) FILTER( ?P != rdfs:label ) FILTER( ?P != rdf:type ) }