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 ?[Link] (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 ?[Link](str(?
o)="[Link]
Query 5: SELECT DISTINCT ?record ?otherURIs ?prefLabel WHERE { ?record ?
otherURIs ?[Link] 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 ?[Link] regex(?o,"ltr").}