Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DISTINCT ( MIN( ?lc ) AS ?l ) ( MIN( ?dc ) AS ?d ) ?s
- WHERE { ?pLabel <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>* <http://www.w3.org/2000/01/rdf-schema#label> .
- { ?s ?pLabel ?lc .
- ?lc bif:CONTAINS '''"Barack Obama"''' .
- FILTER ( LCASE( STR( ?lc ) ) = "barack obama"@en || LCASE( STR( ?lc ) ) = "barack obama" ) }
- OPTIONAL { ?s <http://www.w3.org/2000/01/rdf-schema#comment> ?dc .
- FILTER ( LANGMATCHES( LANG( ?dc ), "en" ) ) }
- OPTIONAL { ?s <http://www.w3.org/2000/01/rdf-schema#comment> ?dc . } }
- GROUP BY ?s
- LIMIT 1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement