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 jurisdiction of the area of {East Nusa Tenggara Province} | SELECT ?answer WHERE { wd:/East Nusa Tenggara/ wdt:/shares border with/ ?X . ?X wdt:/located in the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Were Lady Macbeth and Siward, Earl of Northumbria characters in Macbeth? | ASK WHERE { wd:/Macbeth/ wdt:/characters/ wd:/Lady Macbeth/ . wd:/Macbeth/ wdt:/characters/ wd:/Siward, Earl of Northumbria/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is the human biblical figure for the significant person of Saul? | select distinct ?sbj where { ?sbj wdt:/significant person/ wd:/Saul/ . ?sbj wdt:/instance of/ wd:/human biblical figure/ } |
Generate a SPARQL query that returns the answer of the following question. | What voice is actresses from work of Death the Kid ? | SELECT ?answer WHERE { wd:/Death the Kid/ wdt:/present in work/ ?X . ?X wdt:/voice actor/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Irkutsk cease to become part of the Tobolsk Province? | SELECT ?value WHERE { wd:/Irkutsk/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ wd:/Tobolsk Province/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What was the position of Archduke Charles, Duke of Teschen, when he was replaced by Philipp, Prince of Schwarzenberg? | SELECT ?obj WHERE { wd:/Archduke Charles, Duke of Teschen/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/replaced by/ wd:/Karl Philipp, Prince of Schwarzenberg/ } |
Generate a SPARQL query that returns the answer of the following question. | What notable books were inspired by the Portrait of Louise Vernet? | SELECT ?answer WHERE { wd:/Portrait of Louise Vernet/ wdt:/creator/ ?X . ?X wdt:/notable work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | is it true that the observing time available of the kitt peak national observatory is greater than 312? | ASK WHERE { wd:/Kitt Peak National Observatory/ wdt:/observing time available/ ?obj filter(?obj > 312.0) } |
Generate a SPARQL query that returns the answer of the following question. | How many mobile country codes are in the USA? | SELECT (COUNT(?obj) AS ?value ) { wd:/United States of America/ wdt:/mobile country code/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What specimen type does Piper nigrum belong to? | select distinct ?sbj where { ?sbj wdt:/taxonomic type/ wd:/Piper nigrum/ . ?sbj wdt:/instance of/ wd:/taxon/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the Diamond the same as and what is it named after? | SELECT ?ans_1 ?ans_2 WHERE { wd:/diamond/ wdt:/said to be the same as/ ?ans_1 . wd:/diamond/ wdt:/named after/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What are the city in Ukraine which start with the letter vylkove | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/city in Ukraine/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vylkove')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who works at sally ride that is part of the executive office of the president of the United States | SELECT ?answer WHERE { wd:/Sally Ride/ wdt:/employer/ ?answer . ?answer wdt:/parent organization/ wd:/Executive Office of the President of the United States/} |
Generate a SPARQL query that returns the answer of the following question. | What what is territory of australia by na and also which starts with letter n | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/territory of Australia/ . ?sbj wdt:/replaced by/ wd:/North Australia/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'n')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Formicidae has a Dewey Decimal Classification of 595.796, when was that established? | SELECT ?value WHERE { wd:/Formicidae/ p:/Dewey Decimal Classification/ ?s . ?s ps:/Dewey Decimal Classification/ ?x filter(contains(?x,'595.796')) . ?s pq:/has edition or translation/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who was Louis, Count of Evreux's mother? | SELECT ?value WHERE { wd:/Philip III of France/ p:/child/ ?s . ?s ps:/child/ wd:/Louis, Count of Évreux/ . ?s pq:/mother/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What was King Arthur's given name? | select distinct ?obj where { wd:/King Arthur/ wdt:/given name/ ?obj . ?obj wdt:/instance of/ wd:/male given name/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the art-name of Kang Youwei in traditional Chinese characters? | SELECT ?obj WHERE { wd:/Kang Yu-wei/ p:/art-name/ ?s . ?s ps:/art-name/ ?obj . ?s pq:/writing system/ wd:/traditional Chinese characters/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the country of origin and language of work of Catch-22? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Catch-22/ wdt:/country of origin/ ?ans_1 . wd:/Catch-22/ wdt:/language of work or name/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | For what song did Kid Cudi receive the Grammy Award for Best Rap/Sung Performance? | SELECT ?value WHERE { wd:/Kid Cudi/ p:/award received/ ?s . ?s ps:/award received/ wd:/Grammy Award for Best Melodic Rap Performance/ . ?s pq:/together with/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the Biblical Magi depicted by and what is its canonization status? | SELECT ?ans_1 ?ans_2 WHERE { wd:/biblical Magi/ wdt:/depicted by/ ?ans_1 . wd:/biblical Magi/ wdt:/canonization status/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | what were the architecture firm of home water of boston celitics/ | SELECT ?answer WHERE { wd:/Boston Celtics/ wdt:/home venue/ ?X . ?X wdt:/architect/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is garrison in Commonwealth of Nations having category of associated people of Category:People from London? | SELECT ?answer WHERE { wd:/Commonwealth of Nations/ wdt:/headquarters location/ ?answer . ?answer wdt:/category of associated people/ wd:/Category:People from London/} |
Generate a SPARQL query that returns the answer of the following question. | Which is the mathematical formula of the shape of the cooling tower? | SELECT ?answer WHERE { wd:/cooling tower/ wdt:/shape/ ?X . ?X wdt:/defining formula/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Dorothy Garrod replaced Grahame Clark in what position? | SELECT ?obj WHERE { wd:/Grahame Clark/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/replaces/ wd:/Dorothy Garrod/ } |
Generate a SPARQL query that returns the answer of the following question. | WHO PLAYED PORTRAYED IN CAMP MEETING ? | SELECT ?answer WHERE { wd:/Camp Meeting/ wdt:/performer/ ?X . ?X wdt:/instrument/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What was Verona's population in 1981? | SELECT ?obj WHERE { wd:/Verona/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1981')) } |
Generate a SPARQL query that returns the answer of the following question. | When was Andhra Pradesh in Hyderabad? | SELECT ?value WHERE { wd:/Andhra Pradesh/ p:/capital/ ?s . ?s ps:/capital/ wd:/Hyderabad/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Tell me the sister city of the death place of Adolph Sulyomi-Schulmann | SELECT ?answer WHERE { wd:/Adolf Sulyomi-Schulmann/ wdt:/place of death/ ?X . ?X wdt:/twinned administrative body/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | tell me geological process name has word subduction in it | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:// . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'subduction')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | WHat are the biomedical measurands that contain the word "waist" in their name ? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/biomedical measurand type/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'waist')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Is Jimmy Page's instrument the Fender Telecaster electric guitar? | ASK WHERE { wd:/Jimmy Page/ wdt:/instrument/ wd:/electric guitar/ . wd:/Jimmy Page/ wdt:/instrument/ wd:/Fender Telecaster/ } |
Generate a SPARQL query that returns the answer of the following question. | Who was the Chairperson of University of waterloo while that post was came to an end in 1981 | SELECT ?obj WHERE { wd:/University of Waterloo/ p:/chairperson/ ?s . ?s ps:/chairperson/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1981')) } |
Generate a SPARQL query that returns the answer of the following question. | What what is ice giant parent astronomical body Sun which that starts with letters u | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/ice giant/ . ?sbj wdt:/parent astronomical body/ wd:/Sun/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'u')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who is Andre Agassi's spouse? | select distinct ?obj where { wd:/Andre Agassi/ wdt:/spouse/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What specie physically interacts with acetylcholine? | SELECT ?answer WHERE { wd:/acetylcholine/ wdt:/physically interacts with/ ?X . ?X wdt:/found in taxon/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is the son of the parent of Myat Phaya? | SELECT ?answer WHERE { wd:/Myat Phaya/ wdt:/mother/ ?X . ?X wdt:/father/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | The Moon is found in which subtopic of the geological history of the Earth that has moon in the name? | SELECT ?answer WHERE { wd:/geological history of Earth/ wdt:/facet of/ ?answer . ?answer wdt:/child astronomical body/ wd:/Moon/} |
Generate a SPARQL query that returns the answer of the following question. | What is the symbol of quantity of a square kilometer? | SELECT ?answer WHERE { wd:/square kilometre/ wdt:/measured physical quantity/ ?X . ?X wdt:/quantity symbol (string)/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Tell me the historical language that contains the word 'ancient' in its name and that has the grammatical feminine gender. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/historical language/ . ?sbj wdt:/has grammatical gender/ wd:/feminine/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ancient')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Name a radio program hosted by Donald Trump | select distinct ?sbj where { ?sbj wdt:/presenter/ wd:/Donald Trump/ . ?sbj wdt:/instance of/ wd:/radio program/ } |
Generate a SPARQL query that returns the answer of the following question. | When did William D. Becker stop being head of government for St. Louis? | SELECT ?value WHERE { wd:/St. Louis/ p:/head of government/ ?s . ?s ps:/head of government/ wd:/William D. Becker/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | The Kingdom of Sicily has how many capitals? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/capital of/ wd:/Kingdom of Sicily/ } |
Generate a SPARQL query that returns the answer of the following question. | Appointed by John Dryden, who held the position as Poet Laureate of the United Kingdom? | SELECT ?value WHERE { wd:/John Dryden/ p:/position held/ ?s . ?s ps:/position held/ wd:/Poet Laureate of the United Kingdom/ . ?s pq:/appointed by/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the significant incident of Anna Berliner's marriage? | SELECT ?answer WHERE { wd:/Anna Berliner/ wdt:/spouse/ ?X . ?X wdt:/significant event/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the battery of the plane that has causes of eating? | SELECT ?answer WHERE { wd:/plane/ wdt:/source of energy/ ?answer . ?answer wdt:/has cause/ wd:/eating/} |
Generate a SPARQL query that returns the answer of the following question. | What are the regions available on the coast of Lower Saxony? | SELECT ?answer WHERE { wd:/Lower Saxony/ wdt:/contains the administrative territorial entity/ ?answer . ?answer wdt:/located in or next to body of water/ wd:/Maade/} |
Generate a SPARQL query that returns the answer of the following question. | Where is the work location of Arturo Toscanini on Staten Island? | SELECT ?answer WHERE { wd:/Arturo Toscanini/ wdt:/work location/ ?answer . ?answer wdt:/contains the administrative territorial entity/ wd:/Staten Island/} |
Generate a SPARQL query that returns the answer of the following question. | WHICH IS THE MANTRA THAT IS THE FACET OF HINDUISM AND WHICH STARTS WITH G | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/mantra/ . ?sbj wdt:/facet of/ wd:/Hinduism/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'g')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the religion and gender of David Hasselhof? | SELECT ?ans_1 ?ans_2 WHERE { wd:/David Hasselhoff/ wdt:/religion or worldview/ ?ans_1 . wd:/David Hasselhoff/ wdt:/sex or gender/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Who is the creator of the series \W\ Is for Wasted? | SELECT ?answer WHERE { wd:/"W" Is for Wasted/ wdt:/part of the series/ ?X . ?X wdt:/creator/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Are there 260 prisoners in the Justizvollzugsanstalt Chemnitz? | ASK WHERE { wd:/Justizvollzugsanstalt Chemnitz/ wdt:/prisoner count/ ?obj filter(?obj = 260) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me Indigenous peoples of the United States whose name has the word yatasi in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/Native Americans in the United States/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'yatasi')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the work of authors William Morris and Morris & Co.? | SELECT ?answer WHERE { wd:/William Morris and Morris & Co./ wdt:/author/ ?X . ?X wdt:/employer/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Name the fastest transportation in Japan with less patronage? | select ?ent where { ?ent wdt:/instance of/ wd:/rapid transit/ . ?ent wdt:/daily patronage/ ?obj . ?ent wdt:/country/ wd:/Japan/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What time point has population as 422861.0 for Murcia ? | SELECT ?value WHERE { wd:/Murcia/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'422861.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | which is the public policy that starts with letter r | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/public policy/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'r')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who speaks the same language of George Michael? | SELECT ?answer WHERE { wd:/George Michael/ wdt:/languages spoken, written or signed/ ?X . ?X wdt:/has grammatical person/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the military operation which start with the letter o | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/military operation/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'o')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What was the administrative territorial location of British Raj om 1922-12-5? | SELECT ?obj WHERE { wd:/British Raj/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1922')) } |
Generate a SPARQL query that returns the answer of the following question. | WHAT IS THE CENOTAPH FOR JEAN-JACQUES ROUSSEAU? | select distinct ?sbj where { ?sbj wdt:/occupant/ wd:/Jean-Jacques Rousseau/ . ?sbj wdt:/instance of/ wd:/cenotaph/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the Bucharest judet enclave? | select distinct ?obj where { wd:/Bucharest/ wdt:/enclave within/ ?obj . ?obj wdt:/instance of/ wd:/județ/ } |
Generate a SPARQL query that returns the answer of the following question. | How many programming paradigms are there for C++? | SELECT (COUNT(?obj) AS ?value ) { wd:/C++/ wdt:/programming paradigm/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the official language of Alice springs-Soverign state? | SELECT ?answer WHERE { wd:/Alice Springs/ wdt:/country/ ?X . ?X wdt:/language used/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What sovereign state belonging to the International Finance Corporation has the lowest unemployment rate? | select ?ent where { ?ent wdt:/instance of/ wd:/sovereign state/ . ?ent wdt:/unemployment rate/ ?obj . ?ent wdt:/member of/ wd:/International Finance Corporation/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the zipcode William Stukeley died in? | SELECT ?answer WHERE { wd:/William Stukeley/ wdt:/place of death/ ?X . ?X wdt:/postal code/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the political party in Catalonia with min number of representatives in an organization whose political alignment is left - wing? | select ?ent where { ?ent wdt:/instance of/ wd:/political party in Catalonia/ . ?ent wdt:/number of seats in legislature/ ?obj . ?ent wdt:/political alignment/ wd:/left-wing/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Are the number of wins of the 2001 British and Irish Lions tour to Australia less than 8.4? | ASK WHERE { wd:/2001 British and Irish Lions tour to Australia/ wdt:/number of wins/ ?obj filter(?obj < 8.4) } |
Generate a SPARQL query that returns the answer of the following question. | When was Android version 6.0 published? | SELECT ?value WHERE { wd:/Android/ p:/software version identifier/ ?s . ?s ps:/software version identifier/ ?x filter(contains(?x,'6.0')) . ?s pq:/publication date/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | how much full time works does elements have? | SELECT (COUNT(?obj) AS ?value ) { wd:/Elements/ wdt:/full work available at URL/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | With 300029 inhabitants, where is the village of Xingtai? | SELECT ?answer WHERE { wd:/Xingtai/ wdt:/contains the administrative territorial entity/ ?answer . ?answer wdt:/population/ ?x FILTER(contains(?x,'300029'))} |
Generate a SPARQL query that returns the answer of the following question. | Who is {favorite player} of {The Rolling Stones}, that has {found guilty of} is {tax evasion} | SELECT ?answer WHERE { wd:/The Rolling Stones/ wdt:/influenced by/ ?answer . ?answer wdt:/convicted of/ wd:/tax evasion/} |
Generate a SPARQL query that returns the answer of the following question. | The physical quantity of a millimetre is represented by the symbol L. Which is it? | SELECT ?answer WHERE { wd:/millimetre/ wdt:/measured physical quantity/ ?answer . ?answer wdt:/quantity symbol (string)/ ?x FILTER(contains(?x,'L'))} |
Generate a SPARQL query that returns the answer of the following question. | Who is a partner in the characters of Disney's Magical Quest 3 (starring Mickey & Donald)? | SELECT ?answer WHERE { wd:/Disney's Magical Quest 3 Starring Mickey & Donald/ wdt:/characters/ ?X . ?X wdt:/unmarried partner/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is the Chief Executive officer of BNP Paribas at its beginning time 1st Dec 2011? | SELECT ?obj WHERE { wd:/BNP Paribas/ p:/chief executive officer/ ?s . ?s ps:/chief executive officer/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'2011')) } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the maximum temperature record of the Massachusetts equals to 107? | ASK WHERE { wd:/Massachusetts/ wdt:/maximum temperature record/ ?obj filter(?obj = 107) } |
Generate a SPARQL query that returns the answer of the following question. | Who builds the Airbus A380 and what material is it made out of? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Airbus A380/ wdt:/made from material/ ?ans_1 . wd:/Airbus A380/ wdt:/operator/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Who gave the{product of} of {series} of {Honda RC174} ? | SELECT ?answer WHERE { wd:/Honda RC174/ wdt:/part of the series/ ?X . ?X wdt:/manufacturer/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Charles Grey, 2nd Earl Grey, end his position as the Secretary of State for Foreign and Commonwealth Affairs? | SELECT ?value WHERE { wd:/Charles Grey, 2nd Earl Grey/ p:/position held/ ?s . ?s ps:/position held/ wd:/Secretary of State for Foreign and Commonwealth Affairs/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What did the distribution of the Children of the Corn 666:Isaac's Return establish? | SELECT ?answer WHERE { wd:/Children of the Corn 666: Isaac's Return/ wdt:/distributed by/ ?X . ?X wdt:/founded by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Did Paul McCartney have a sibling named Mike McGear? | ASK WHERE { wd:/Paul McCartney/ wdt:/sibling/ wd:/Mike McGear/ } |
Generate a SPARQL query that returns the answer of the following question. | what diameter is 5.56*45mm NATO in the base? | SELECT ?obj WHERE { wd:/5.56×45mm NATO/ p:/diameter/ ?s . ?s ps:/diameter/ ?obj . ?s pq:/applies to part/ wd:/base/ } |
Generate a SPARQL query that returns the answer of the following question. | What twinned administrative body of Krakow started in 1995? | SELECT ?obj WHERE { wd:/Kraków/ p:/twinned administrative body/ ?s . ?s ps:/twinned administrative body/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1995')) } |
Generate a SPARQL query that returns the answer of the following question. | What is named after November in Czech? | SELECT ?obj WHERE { wd:/November/ p:/named after/ ?s . ?s ps:/named after/ ?obj . ?s pq:/language of work or name/ wd:/Czech/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is Ali al-Haidi's nephew? | SELECT ?answer WHERE { wd:/Ali al-Hadi/ wdt:/sibling/ ?X . ?X wdt:/father/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who was the spouse of Ilona Staller at the beginning of 1991? | SELECT ?obj WHERE { wd:/Ilona Staller/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1991')) } |
Generate a SPARQL query that returns the answer of the following question. | What operates out of RAF Lossiemouth? | SELECT ?answer WHERE { wd:/RAF Lossiemouth/ wdt:/occupant/ ?X . ?X wdt:/item operated/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What fictional universe did Green Lantern take place in and who create Green Lantern? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Green Lantern/ wdt:/from narrative universe/ ?ans_1 . wd:/Green Lantern/ wdt:/creator/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What position did Raúl Alfonsín Gato hold until July 3, 2002? | SELECT ?obj WHERE { wd:/Raúl Alfonsín/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2002')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the reserve currency which start with the letter d | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/reserve currency/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'd')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the orthography that the Ancient Greek's used? | select distinct ?obj where { wd:/Ancient Greek/ wdt:/writing system/ ?obj . ?obj wdt:/instance of/ wd:/orthography/ } |
Generate a SPARQL query that returns the answer of the following question. | Where do Indra Nooyi works for, whose parent company is Tropicana Products? | SELECT ?answer WHERE { wd:/Indra Nooyi/ wdt:/employer/ ?answer . ?answer wdt:/has subsidiary/ wd:/Tropicana Products/} |
Generate a SPARQL query that returns the answer of the following question. | Name a MediaWiki website located in Amsterdam that contains the word "wikipedia" in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/MediaWiki website/ . ?sbj wdt:/location/ wd:/Amsterdam/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wikipedia')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | When did Yerevan's population reach 1.0547e+06? | SELECT ?value WHERE { wd:/Yerevan/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'1.0547e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the character portrayed in 30 Rock by cast member Alec Baldwin portray? | SELECT ?value WHERE { wd:/30 Rock/ p:/cast member/ ?s . ?s ps:/cast member/ wd:/Alec Baldwin/ . ?s pq:/character role/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which member of party of Klaus Gärtner ? | SELECT ?answer WHERE { wd:/Klaus Gärtner/ wdt:/member of political party/ ?X . ?X wdt:/member of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the historical total fertility rate of Mali? | SELECT ?answer WHERE { wd:/history of Mali/ wdt:/facet of/ ?X . ?X wdt:/total fertility rate/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many employers are there for Edward Snowden? | SELECT (COUNT(?obj) AS ?value ) { wd:/Edward Snowden/ wdt:/employer/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | Who is the daughter of Iskandar Thani? | SELECT ?answer WHERE { wd:/Iskandar Thani/ wdt:/spouse/ ?X . ?X wdt:/father/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is number of out of school children continent of dvaravati? | SELECT ?answer WHERE { wd:/Dvaravati kingdom/ wdt:/continent/ ?X . ?X wdt:/number of out-of-school children/ ?answer} |
Subsets and Splits