Você está na página 1de 6

Query 1: SELECT ?s ?p ?o WHERE { ?s ?p ?o .

}
Description: To select all the subject, predicate and object combinations.

Query 2: SELECT ?s ?p ?o WHERE { ?s ?p ?o . } LIMIT 3


Description: To select first three rows of subject, predicate and object combinations.

Query 3: SELECT ?s ?p ?o WHERE { ?s ?p ?o . } OFFSET 3

Description: To display the subject, predicate and object combinations starting from
fourth row.

Query 4: SELECT DISTINCT ?record ?otherURIs ?prefLabel WHERE { ?record ?


otherURIs ?prefLabel.FILTER (str(?prefLabel)="Khuzestan").}

Description: To select the distinct records which has the prefLabel contains the
exact text Khuzestan .

select ?s ?p ?o where {?s ?p ?o.filter(str(?


o)="http://wolterskluwer.com/ceres/ontology/ltr-common-20090212").}

Query 5: SELECT DISTINCT ?record ?otherURIs ?prefLabel WHERE { ?record ?


otherURIs ?prefLabel.FILTER regex(?prefLabel,"Khu").}

Description: To select the distinct records which has the prefLabel contains the text
Khu .

select distinct ?s ?p ?o where {?s ?p ?o.filter regex(?o,"ltr").}

Você também pode gostar