instruction
stringclasses
1 value
input
stringlengths
1
655
output
stringlengths
47
392
Generate a SPARQL query that returns the answer of the following question.
What is the Congee spelling of the IPA transcription sʰàmbjoʊʔ?
SELECT ?obj WHERE { wd:/congee/ p:/native label/ ?s . ?s ps:/native label/ ?obj . ?s pq:/IPA transcription/ ?x filter(contains(?x,'sʰàmbjoʊʔ')) }
Generate a SPARQL query that returns the answer of the following question.
What is the text input for the Aruba flag emoji?
SELECT ?obj WHERE { wd:/Aruba/ p:/short name/ ?s . ?s ps:/short name/ ?obj . ?s pq:/instance of/ wd:/emoji regional indicator sequence/ }
Generate a SPARQL query that returns the answer of the following question.
Where did Pierre Curie live, which has the timezone of UTC-02:00?
SELECT ?answer WHERE { wd:/Pierre Curie/ wdt:/residence/ ?answer . ?answer wdt:/located in time zone/ wd:/UTC−02:00/}
Generate a SPARQL query that returns the answer of the following question.
How many shares border with the San Juan Province?
SELECT (COUNT(?obj) AS ?value ) { wd:/San Juan Province/ wdt:/shares border with/ ?obj }
Generate a SPARQL query that returns the answer of the following question.
What position did John Paul II hold starting on October 10, 1978?
SELECT ?obj WHERE { wd:/John Paul II/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1978')) }
Generate a SPARQL query that returns the answer of the following question.
Which part of Adélie Land has a the second-level administrative country subdivision?
SELECT ?value WHERE { wd:/Adélie Land/ p:/instance of/ ?s . ?s ps:/instance of/ wd:/second-level administrative country subdivision/ . ?s pq:/part of/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What podcast does John Oliver work on?
select distinct ?sbj where { ?sbj wdt:/presenter/ wd:/John Oliver/ . ?sbj wdt:/instance of/ wd:/podcast/ }
Generate a SPARQL query that returns the answer of the following question.
What are dog breed which start with the letter w
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/dog breed/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'w')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25