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 ( ( CONTAINS( LCASE( STR( ?lc ) ), "barack obama" ) && LANGMATCHES( LANG( ?lc ), "en" ) ) || CONTAINS( 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