instruction
stringclasses 1
value | input
stringlengths 1
655
| output
stringlengths 47
392
|
---|---|---|
Generate a SPARQL query that returns the answer of the following question. | Is Jack the Ripper said to be the same as Sir John Williams, 1st Baronet of the City of London? | ASK WHERE { wd:/Jack the Ripper/ wdt:/said to be the same as/ wd:/Sir John Williams, 1st Baronet, of the City of London/ } |
Generate a SPARQL query that returns the answer of the following question. | Did Christopher Lee conflict in World War II and the Battle of Anzio? | ASK WHERE { wd:/Christopher Lee/ wdt:/conflict/ wd:/World War II/ . wd:/Christopher Lee/ wdt:/conflict/ wd:/Battle of Anzio/ } |
Generate a SPARQL query that returns the answer of the following question. | how much distribution is done by secure digital card? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/distribution format/ wd:/Secure Digital card/ } |
Generate a SPARQL query that returns the answer of the following question. | What did Norbert Kolten found? | SELECT ?answer WHERE { wd:/Norbert Kloten/ wdt:/member of/ ?X . ?X wdt:/founded by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Was Ludwing_Van_Bethoven's notable work Piano Sonata No. 14? | ASK WHERE { wd:/Ludwig van Beethoven/ wdt:/notable work/ wd:/Piano Sonata No. 14/ } |
Generate a SPARQL query that returns the answer of the following question. | Is Iron Maiden's genre considered thrash metal and traditional thrash metal? | ASK WHERE { wd:/Iron Maiden/ wdt:/genre/ wd:/thrash metal/ . wd:/Iron Maiden/ wdt:/genre/ wd:/traditional heavy metal/ } |
Generate a SPARQL query that returns the answer of the following question. | Does Quincy Jones produce funk and blues? | ASK WHERE { wd:/Quincy Jones/ wdt:/genre/ wd:/funk/ . wd:/Quincy Jones/ wdt:/genre/ wd:/blues/ } |
Generate a SPARQL query that returns the answer of the following question. | TELL ME METROPOLITAN CITY OF SOUTH KOREA WHICH START WITH THE LETTER U. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/metropolitan city of South Korea/ . ?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. | When was the Eiffel tower built? | SELECT ?value WHERE { wd:/Eiffel Tower/ p:/public domain date/ ?s . ?s ps:/public domain date/ ?x filter(contains(YEAR(?x),'1993')) . ?s pq:/applies to jurisdiction/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is subitem of history of the English language, that has cases is nominative case? | SELECT ?answer WHERE { wd:/history of English/ wdt:/facet of/ ?answer . ?answer wdt:/has grammatical case/ wd:/nominative case/} |
Generate a SPARQL query that returns the answer of the following question. | did Tbilisi ended his government in 2004-4-19? | SELECT ?obj WHERE { wd:/Tbilisi/ p:/head of government/ ?s . ?s ps:/head of government/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2004')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the words by My Old Kentucky Home whose career is lyricist? | SELECT ?answer WHERE { wd:/My Old Kentucky Home/ wdt:/lyrics by/ ?answer . ?answer wdt:/occupation/ wd:/lyricist/} |
Generate a SPARQL query that returns the answer of the following question. | What is the monoanion for the conjugate base of phenol? | select distinct ?obj where { wd:/phenol/ wdt:/conjugate base/ ?obj . ?obj wdt:/instance of/ wd:/monoanion/ } |
Generate a SPARQL query that returns the answer of the following question. | Which architect represents Taipel 101? | select distinct ?obj where { wd:/Taipei 101/ wdt:/architect/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the place of interment of Albert Anastasia, that has a foundation date of 1838-0-0? | SELECT ?answer WHERE { wd:/Albert Anastasia/ wdt:/place of burial/ ?answer . ?answer wdt:/inception/ ?x FILTER(contains(YEAR(?x),'1838'))} |
Generate a SPARQL query that returns the answer of the following question. | When did Ahmedabad become Presidency of Bombay which was located in the administrative territorial entity? | SELECT ?value WHERE { wd:/Ahmedabad/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ wd:/Bombay Presidency/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | "Which is {first described} of {Sombrero Galaxy}, where {member of} is {Accademia Nazionale delle Scienze detta dei XL} ?" | SELECT ?answer WHERE { wd:// wdt:/discoverer or inventor/ ?answer . ?answer wdt:/member of/ wd:/Accademia Nazionale delle Scienze detta dei XL/} |
Generate a SPARQL query that returns the answer of the following question. | When is {date of death} of {Luca Pacioli} whose {earliest date} is {1517-4-0} ? | SELECT ?obj WHERE { wd:/Luca Pacioli/ p:/date of death/ ?s . ?s ps:/date of death/ ?obj . ?s pq:/earliest date/ ?x filter(contains(YEAR(?x),'1517')) } |
Generate a SPARQL query that returns the answer of the following question. | Was Carl_Sagan spouse Carl Woese and Linda Salzman Sagan ? | ASK WHERE { wd:/Carl Sagan/ wdt:/spouse/ wd:/Carl Woese/ . wd:/Carl Sagan/ wdt:/spouse/ wd:/Linda Salzman Sagan/ } |
Generate a SPARQL query that returns the answer of the following question. | Where is Theodoros Angelopolos majoring in Jurisprudence? | SELECT ?obj WHERE { wd:/Thodoros Angelopoulos/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/academic major/ wd:/jurisprudence/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the purpose of canning, that is different from pickling? | SELECT ?answer WHERE { wd:/food preservation/ wdt:/uses/ ?answer . ?answer wdt:/different from/ wd:/Damp/} |
Generate a SPARQL query that returns the answer of the following question. | What is the prefectural assembly with the highest number of seats whose applies to jurisdiction is Mie Prefecture? | select ?ent where { ?ent wdt:/instance of/ wd:/prefectural assemblies of Japan/ . ?ent wdt:/number of seats/ ?obj . ?ent wdt:/applies to jurisdiction/ wd:/Mie Prefecture/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Which minor locality is the largest? | select ?ent where { ?ent wdt:/instance of/ wd:/minor locality in Sweden/ . ?ent wdt:/area/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What significant event in December of 1972 involved Harrison Schmitt? | SELECT ?obj WHERE { wd:/Harrison Schmitt/ p:/significant event/ ?s . ?s ps:/significant event/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1972')) } |
Generate a SPARQL query that returns the answer of the following question. | What is the federated state located in the Weimar Republic? | select distinct ?sbj where { ?sbj wdt:/located in the administrative territorial entity/ wd:/Weimar Republic/ . ?sbj wdt:/instance of/ wd:/federated state/ } |
Generate a SPARQL query that returns the answer of the following question. | Who was the chairperson for the Social Democratic Party of Germany in 2004-3-21? | SELECT ?obj WHERE { wd:/Social Democratic Party of Germany/ p:/chairperson/ ?s . ?s ps:/chairperson/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2004')) } |
Generate a SPARQL query that returns the answer of the following question. | How many episodes are there of Cowboy Bebop? | SELECT (COUNT(?obj) AS ?value ) { wd:/Cowboy Bebop/ wdt:/publication date/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What award did Walter Brennan receive in 1938? | SELECT ?obj WHERE { wd:/Walter Brennan/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1938')) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me phase whose name has the word hydrogen in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/phase/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'hydrogen')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is to be distiguished from a pub that resides at the co-ordinates: 25.9077 64.3467? | SELECT ?answer WHERE { wd:/pub/ wdt:/different from/ ?answer . ?answer wdt:/coordinate location/ ?x FILTER(contains(?x,'25.9077 64.3467'))} |
Generate a SPARQL query that returns the answer of the following question. | In which city the main headquarters of the company PricewaterhouseCoopers are located ? | SELECT ?answer WHERE { wd:/PricewaterhouseCoopers/ wdt:/headquarters location/ ?X . ?X wdt:/head of government/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is the actor in the narrative of Gregory House? | SELECT ?answer WHERE { wd:/Gregory House/ wdt:/present in work/ ?X . ?X wdt:/cast member/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Was Antonio Banderas's languages spoken, written or signed Dutch and Spanish ? | ASK WHERE { wd:/Antonio Banderas/ wdt:/languages spoken, written or signed/ wd:/Dutch/ . wd:/Antonio Banderas/ wdt:/languages spoken, written or signed/ wd:/Spanish/ } |
Generate a SPARQL query that returns the answer of the following question. | What award did 12 Angry Men get at the 7th Berlin International Film Award | SELECT ?obj WHERE { wd:/12 Angry Men/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/statement is subject of/ wd:/7th Berlin International Film Festival/ } |
Generate a SPARQL query that returns the answer of the following question. | who is pupil advisor of James Stevens ? | SELECT ?answer WHERE { wd:/James Stevens/ wdt:/student of/ ?X . ?X wdt:/student/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | is it true that the thermal conductivity of tin II oxide is equal to 38.24? | ASK WHERE { wd:/tin(II) oxide/ wdt:/thermal conductivity/ ?obj filter(?obj = 38.24) } |
Generate a SPARQL query that returns the answer of the following question. | What are the possible examinations of the murder method of Rattana Pestonji? | SELECT ?answer WHERE { wd:/Rattana Pestonji/ wdt:/cause of death/ ?X . ?X wdt:/medical examination/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is the {sibling} and the {child} of {Vlad_the_Impaler} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Vlad Tepes (|||)/ wdt:/sibling/ ?ans_1 . wd:/Vlad Tepes (|||)/ wdt:/child/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | which class IA flammable liquid with the lowest ceiling exposure whose instance of is occupational carcinogen? | select ?ent where { ?ent wdt:/instance of/ wd:/Class IA flammable liquid/ . ?ent wdt:/ceiling exposure limit/ ?obj . ?ent wdt:/instance of/ wd:/occupational carcinogen/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Where is the resting place of dedication of the Church of St Peter? | SELECT ?answer WHERE { wd:/Church of St Peter/ wdt:/dedicated to/ ?X . ?X wdt:/place of burial/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the first principle which start with the letter s | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/first principle/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 's')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Which river {is in} the Zanzibar Archipelago, that has a {tributary} on the [Athi-Galana-Sabaki River}? | SELECT ?answer WHERE { wd:/Zanzibar Archipelago/ wdt:/located in/on physical feature/ ?answer . ?answer wdt:/tributary/ wd:/Athi-Galana-Sabaki River/} |
Generate a SPARQL query that returns the answer of the following question. | When did Nicaragua count a population of 3.87732e+06 inhabitants? | SELECT ?value WHERE { wd:/Nicaragua/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'3.87732e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What political party is Tim Allen a member of and what is his country of citizenship? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Tim Allen/ wdt:/member of political party/ ?ans_1 . wd:/Tim Allen/ wdt:/country of citizenship/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What is the rate of CPI inflation in Romanian economic history? | SELECT ?answer WHERE { wd:/history of Romania/ wdt:/facet of/ ?X . ?X wdt:/inflation rate/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Name a port city that contains the word "zuwetina " in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/port settlement/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'zuwetina')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What was the name of Stan Laurel's spouse that ended on 1965-2-3? | SELECT ?obj WHERE { wd:/Stan Laurel/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1965')) } |
Generate a SPARQL query that returns the answer of the following question. | Is the mean anomaly of the 4366 Venikagan equal to 0.58858? | ASK WHERE { wd:/4366 Venikagan/ wdt:/mean anomaly/ ?obj filter(?obj = 0.58858) } |
Generate a SPARQL query that returns the answer of the following question. | What is the locomotive class with the most stroke whose operator is Lancashire, Derbyshire and East Coast Railway? | select ?ent where { ?ent wdt:/instance of/ wd:/locomotive class/ . ?ent wdt:/stroke/ ?obj . ?ent wdt:/operator/ wd:/Lancashire, Derbyshire and East Coast Railway/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | TELL ME SERIES OF CREATIVE WORKS WHOSE NAME HAS THE WORD SERIES IN IT. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/series of creative works/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'series')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is { solubility } of { nitrous oxide } { solvent } is { water }? | SELECT ?obj WHERE { wd:/nitrous oxide/ p:/solubility/ ?s . ?s ps:/solubility/ ?obj . ?s pq:/solvent/ wd:/water/ } |
Generate a SPARQL query that returns the answer of the following question. | Who written the prequel of The Structures of Everyday Life? | SELECT ?answer WHERE { wd:/The Structures of Everyday Life/ wdt:/followed by/ ?X . ?X wdt:/author/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Are {Al_Gore's} {child} {Bill Oakley} and {Karenna Gore Schiff} ? | ASK WHERE { wd:/Al Gore/ wdt:/child/ wd:/Bill Oakley/ . wd:/Al Gore/ wdt:/child/ wd:/Karenna Gore Schiff/ } |
Generate a SPARQL query that returns the answer of the following question. | does the HD 40307 stellar rotational velocity equal 3? | ASK WHERE { wd:/HD 40307/ wdt:/stellar rotational velocity/ ?obj filter(?obj = 3) } |
Generate a SPARQL query that returns the answer of the following question. | Which infectious disease is caused by Staphylococcus aureus? | select distinct ?sbj where { ?sbj wdt:/has cause/ wd:/Staphylococcus aureus/ . ?sbj wdt:/instance of/ wd:/infectious disease/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the Superbowl from the country of the United States of America? | ASK WHERE { wd:/Super Bowl/ wdt:/country/ wd:/United States of America/ } |
Generate a SPARQL query that returns the answer of the following question. | How many siblings did Edward III of England have? | SELECT (COUNT(?obj) AS ?value ) { wd:/Edward III of England/ wdt:/sibling/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | Tell me transcript whose name has the word messenger in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/transcript/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'messenger')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | How is RHO put together to form a Forward Strand? | SELECT ?value WHERE { wd:/RHO/ p:/strand orientation/ ?s . ?s ps:/strand orientation/ wd:/forward strand/ . ?s pq:/genomic assembly/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which {artist} {precedes} by {Die, Die My Darling} ? | SELECT ?answer WHERE { wd:/Die, Die My Darling/ wdt:/followed by/ ?X . ?X wdt:/performer/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the alphabet that starts with 't'? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/alphabet/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 't')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What were the statements when Michelle Pfeiffer got nominated for the Academy Award for Best Actress? | SELECT ?value WHERE { wd:/Michelle Marie Pfeiffer/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Actress/ . ?s pq:/statement is subject of/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When did New Hampshire have a population of 491524? | SELECT ?value WHERE { wd:/New Hampshire/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'491524.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which space station has completed maximum orbits? | select ?ent where { ?ent wdt:/instance of/ wd:/space station/ . ?ent wdt:/orbits completed/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is followed by Stranger in a Strange Land awarded as Prometheus Award - Hall of Fame? | SELECT ?value WHERE { wd:/Stranger in a Strange Land/ p:/award received/ ?s . ?s ps:/award received/ wd:/Prometheus Award - Hall of Fame/ . ?s pq:/followed by/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | For what was Paul Muni nominated in 1918? | SELECT ?obj WHERE { wd:/Paul Muni/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1935')) } |
Generate a SPARQL query that returns the answer of the following question. | On what lake is the Indian reserve of Thalang? | SELECT ?answer WHERE { wd:/Thalang/ wdt:/located in the administrative territorial entity/ ?X . ?X wdt:/located in or next to body of water/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What position did Athelstan hold in 927? | SELECT ?obj WHERE { wd:/Æthelstan/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(?x,'927-0-0')) } |
Generate a SPARQL query that returns the answer of the following question. | Which {endemic to} and the {parent taxon} of {Tasmanian_devil} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Tasmanian devil/ wdt:/endemic to/ ?ans_1 . wd:/Tasmanian devil/ wdt:/parent taxon/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Does Nintendo own Monolith Soft and Square Enix? | ASK WHERE { wd:/Nintendo/ wdt:/owner of/ wd:/Monolith Soft Inc./ . wd:/Nintendo/ wdt:/owner of/ wd:/Square Enix/ } |
Generate a SPARQL query that returns the answer of the following question. | Which brother or sister of Artemis has a kid named Hymen? | SELECT ?answer WHERE { wd:/Artemis/ wdt:/sibling/ ?answer . ?answer wdt:/child/ wd:/Hymen/} |
Generate a SPARQL query that returns the answer of the following question. | Who has played Please Don't Make My Cry? | SELECT ?answer WHERE { wd:/Please Don't Make Me Cry/ wdt:/followed by/ ?X . ?X wdt:/performer/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the coordinates of the Amur river mouth? | SELECT ?obj WHERE { wd:/Amur/ p:/coordinate location/ ?s . ?s ps:/coordinate location/ ?obj . ?s pq:/applies to part/ wd:/river mouth/ } |
Generate a SPARQL query that returns the answer of the following question. | To which country does Prince Salman pledge allegiance? | select distinct ?obj where { wd:/Salman bin Abdulaziz Al Saud/ wdt:/allegiance/ ?obj . ?obj wdt:/instance of/ wd:/country/ } |
Generate a SPARQL query that returns the answer of the following question. | what is issued for nipple has native lebel as papilla mammaria? | SELECT ?value WHERE { wd:/nipple/ p:/native label/ ?s . ?s ps:/native label/ ?x filter(contains(?x,'papilla mammaria')) . ?s pq:/issued by/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Was Reese Witherspoon influenced by Julia Roberts? | ASK WHERE { wd:/Reese Witherspoon/ wdt:/influenced by/ wd:/Julia Roberts/ } |
Generate a SPARQL query that returns the answer of the following question. | Who replaced Zachary Taylor as President of the United States? | SELECT ?value WHERE { wd:/Zachary Taylor/ p:/position held/ ?s . ?s ps:/position held/ wd:/President of the United States/ . ?s pq:/replaces/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What country replaced the historical country of Joseon? | select distinct ?sbj where { ?sbj wdt:/replaced by/ wd:/Joseon/ . ?sbj wdt:/instance of/ wd:/historical country/ } |
Generate a SPARQL query that returns the answer of the following question. | Name the sibling of Loretta Lynn. | select distinct ?obj where { wd:/Loretta Lynn/ wdt:/sibling/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Was Venice administratively intertwinned with Sarajevo and Tallinn? | ASK WHERE { wd:/Venice/ wdt:/twinned administrative body/ wd:/Sarajevo/ . wd:/Venice/ wdt:/twinned administrative body/ wd:/Tallinn/ } |
Generate a SPARQL query that returns the answer of the following question. | when did zhejiang became a ming dynasty? | SELECT ?value WHERE { wd:/Zhejiang/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ wd:/Ming dynasty/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who stars with Ian Carlyle in the production? | SELECT ?answer WHERE { wd:/Ian Carlyle/ wdt:/present in work/ ?X . ?X wdt:/cast member/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Nikephoros II Phokas end his time as Byzantine emperoror? | SELECT ?value WHERE { wd:/Nikephoros II Phokas/ p:/position held/ ?s . ?s ps:/position held/ wd:/Byzantine emperor/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Racial discrimination differs from xenophobia in some crucial ways, name another related action which differs from xenophobia. | SELECT ?answer WHERE { wd:/xenophobia/ wdt:/different from/ ?answer . ?answer wdt:/said to be the same as/ wd://} |
Generate a SPARQL query that returns the answer of the following question. | Where were Catharine, Duchess of Cambridge and Prince William, Duke of Cambridge married? | SELECT ?value WHERE { wd:/Catherine, Princess of Wales/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/William, Prince of Wales/ . ?s pq:/place of marriage/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What team did Samuel Eto`ò score 44.0 for? | SELECT ?obj WHERE { wd:/Samuel Eto'o/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ ?obj . ?s pq:/number of points/goals/set scored/ ?x filter(contains(?x,'44.0')) } |
Generate a SPARQL query that returns the answer of the following question. | What city is twinned with Sofia? | select distinct ?obj where { wd:/Sofia/ wdt:/twinned administrative body/ ?obj . ?obj wdt:/instance of/ wd:/city/ } |
Generate a SPARQL query that returns the answer of the following question. | How many drugs used for curing {thiamine ion} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/drug or therapy used for treatment/ wd:/thiamine(1+) ion/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the birth city of Charles IV which is in the state Čimice? | SELECT ?answer WHERE { wd:/Charles IV/ wdt:/place of birth/ ?answer . ?answer wdt:/contains the administrative territorial entity/ wd:/Čimice/} |
Generate a SPARQL query that returns the answer of the following question. | Name a painting by Vincent van Gogh | select distinct ?sbj where { ?sbj wdt:/participant/ wd:/Vincent van Gogh/ . ?sbj wdt:/instance of/ wd:/documenta/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the cardinality of the complex logarithm input set? | SELECT ?answer WHERE { wd:/complex logarithm/ wdt:/input set/ ?X . ?X wdt:/cardinality of this set/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which {streak color} is {solid solution series with} of {fayalite} ? | SELECT ?answer WHERE { wd:/fayalite/ wdt:/solid solution series with/ ?X . ?X wdt:/streak color/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the banana made of yellow and a shade of brown? | ASK WHERE { wd:/banana/ wdt:/color/ wd:/yellow/ . wd:/banana/ wdt:/color/ wd:/shade of brown/ } |
Generate a SPARQL query that returns the answer of the following question. | which is sister birth city of Ludmilla Siim ? | SELECT ?answer WHERE { wd:/Ludmilla Siim/ wdt:/place of birth/ ?X . ?X wdt:/place of birth/0 ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many school children were in a developed country in 1-1-2000? | SELECT ?obj WHERE { wd:/developed country/ p:/number of out-of-school children/ ?s . ?s ps:/number of out-of-school children/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2000')) } |
Generate a SPARQL query that returns the answer of the following question. | What tributaries are near the Lake of Cadiz? | SELECT ?answer WHERE { wd:/Cádiz/ wdt:/located in or next to body of water/ ?X . ?X wdt:/tributary/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When is Chinese New Year? | select distinct ?sbj where { ?sbj wdt:/public holiday/ wd:/Chinese New Year/ . ?sbj wdt:/instance of/ wd:/city/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the anatomical structure that contains the word vagina in their name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/anatomical structure/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vagina')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Tell me extinct human group whose name has the word wusun in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/extinct human group/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wusun')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Where is the head office location of the International Chamber of Commerce that is next to lssy-les-Moulineaux? | SELECT ?answer WHERE { wd:/International Chamber of Commerce/ wdt:/headquarters location/ ?answer . ?answer wdt:/shares border with/ wd:/Issy-les-Moulineaux/} |