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 was Farrah Fawcett nominated for a TCA Award for Outstanding Achievement in Drama for? | SELECT ?value WHERE { wd:/Farrah Fawcett/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/TCA Award for Outstanding Achievement in Drama/ . ?s pq:/for work/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who were the victims due to Cimon's actions? | SELECT ?answer WHERE { wd:/Cimon/ wdt:/conflict/ ?X . ?X wdt:/participant/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which is the dedication date of the school of swing music? | SELECT ?answer WHERE { wd:/swing music/ wdt:/movement/ ?X . ?X wdt:/inception/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is namination did Luis Buñuel receive his work in That Obscure Object of Desire? | SELECT ?obj WHERE { wd:/Luis Buñuel/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/for work/ wd:/That Obscure Object of Desire/ } |
Generate a SPARQL query that returns the answer of the following question. | What is made from medium of olive oil ? | SELECT ?answer WHERE { wd:/olive oil/ wdt:/made from material/ ?X . ?X wdt:/natural product of taxon/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Robert Musil earn his doctoral degree? | SELECT ?value WHERE { wd:/Robert Musil/ p:/academic degree/ ?s . ?s ps:/academic degree/ wd:/doctorate/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Where is Charles Nirmalanathan job located? | SELECT ?answer WHERE { wd:/Charles Nirmalanathan/ wdt:/member of political party/ ?X . ?X wdt:/headquarters location/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which country contained the library of the Roman Empire? | select distinct ?sbj where { ?sbj wdt:/country/ wd:/Roman Empire/ . ?sbj wdt:/instance of/ wd:/library/ } |
Generate a SPARQL query that returns the answer of the following question. | What colossal statue starts with the letter "s"? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/colossal statue/ . ?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. | What is the {antonym} of {morning} called, for which the {predecessor} is {afternoon}? | SELECT ?answer WHERE { wd:/morning/ wdt:/opposite of/ ?answer . ?answer wdt:/follows/ wd:/afternoon/} |
Generate a SPARQL query that returns the answer of the following question. | Where are the archives of Vietnam located? | SELECT ?answer WHERE { wd:/history of Vietnam/ wdt:/facet of/ ?X . ?X wdt:/contains the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who did Demi Lovato break-up with in 2016? | SELECT ?obj WHERE { wd:/Demi Lovato/ p:/unmarried partner/ ?s . ?s ps:/unmarried partner/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2016')) } |
Generate a SPARQL query that returns the answer of the following question. | Where is the location of the Samsung headquarters with the postal code of 443-742? | SELECT ?obj WHERE { wd:/Samsung/ p:/headquarters location/ ?s . ?s ps:/headquarters location/ ?obj . ?s pq:/postal code/ ?x filter(contains(?x,'443-742')) } |
Generate a SPARQL query that returns the answer of the following question. | Who has a tomb in All Saints' Church and wrote "Ninety-five Theses"? | SELECT ?answer WHERE { wd:/Ninety-five Theses/ wdt:/author/ ?answer . ?answer wdt:/place of burial/ wd:/All Saints' Church, Lutherstadt Wittenberg/} |
Generate a SPARQL query that returns the answer of the following question. | How many noble titles owned by {emir} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/noble title/ wd:/emir/ } |
Generate a SPARQL query that returns the answer of the following question. | The death of Laocoön was famously depicted in a much-admired marble Laocoön and His Sons, attributed by Pliny the Elder to the Rhodian sculptors Agesander, Athenodoros, and Polydorus, which stands in the Vatican Museums, Rome. ... song "Laughing" references Laocoön, rendering him female ("Laocoön and her two sons"). | SELECT ?answer WHERE { wd:/Laocoön and His Sons/ wdt:/made from material/ ?X . ?X wdt:/time-weighted average exposure limit/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What type of student role model is Octavian Angheluta? | SELECT ?answer WHERE { wd:/Octavian Angheluță/ wdt:/student/ ?X . ?X wdt:/influenced by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When was Theodor Herzl buried in Dobling? | SELECT ?value WHERE { wd:/Theodor Herzl/ p:/place of burial/ ?s . ?s ps:/place of burial/ wd:/Döbling/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | "What's the {border} of {Japan}, whose {language official} is {Buryat}?" | SELECT ?answer WHERE { wd:/Japan/ wdt:/shares border with/ ?answer . ?answer wdt:/official language/ wd:/Buryat/} |
Generate a SPARQL query that returns the answer of the following question. | What portable computer had MS-DOS as the operating system? | select distinct ?sbj where { ?sbj wdt:/operating system/ wd:/MS-DOS/ . ?sbj wdt:/instance of/ wd:/portable computer/ } |
Generate a SPARQL query that returns the answer of the following question. | When did British Airway stop operating the Concorde 204? | SELECT ?value WHERE { wd:/British Airways/ p:/item operated/ ?s . ?s ps:/item operated/ wd:/Concorde 204/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How many dome enclosures are there? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/enclosure/ wd:/dome/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the prevalence of leprosy less than 280.8? | ASK WHERE { wd:/leprosy/ wdt:/prevalence/ ?obj filter(?obj < 280.8) } |
Generate a SPARQL query that returns the answer of the following question. | How many game artists are by Akira Toriyama? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/game artist/ wd:/Akira Toriyama/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the United Methodist Church's cemetary? | select distinct ?sbj where { ?sbj wdt:/religion or worldview/ wd:/United Methodist Church/ . ?sbj wdt:/instance of/ wd:/cemetery/ } |
Generate a SPARQL query that returns the answer of the following question. | When did David Beckham receive the PFA Team of the Year award? | SELECT ?value WHERE { wd:/David Beckham/ p:/award received/ ?s . ?s ps:/award received/ wd:/PFA Team of the Year/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which is the one responsible commander for John Ledyard's headed branch | SELECT ?answer WHERE { wd:/John Ledyard/ wdt:/military branch/ ?X . ?X wdt:/commanded by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the film studio which start with the letter engineering | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/gas law/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'law')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What languages Denis de Sallo knows? One of them has an acronym and that is французский. | SELECT ?answer WHERE { wd:/Denis de Sallo/ wdt:/languages spoken, written or signed/ ?answer . ?answer wdt:/short name/ ?x FILTER(contains(?x,'французский'))} |
Generate a SPARQL query that returns the answer of the following question. | Name a professional sports league starting in September that starts with letter P | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/professional sports league/ . ?sbj wdt:/season starts/ wd:/September/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'p')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What field gun has the longest firing range? | select ?ent where { ?ent wdt:/instance of/ wd:/field gun/ . ?ent wdt:/effective firing range/ ?obj . ?ent wdt:/instance of/ wd:/field gun/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the nation that China was previously known as? | select distinct ?sbj where { ?sbj wdt:/history of topic/ wd:/history of China/ . ?sbj wdt:/instance of/ wd:/nation/ } |
Generate a SPARQL query that returns the answer of the following question. | What was the population of Isle of Man on 1978-0-0? | SELECT ?obj WHERE { wd:/Isle of Man/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1978')) } |
Generate a SPARQL query that returns the answer of the following question. | What is famous works of Louise Bourgeois that has the coordinates is -77.0233? | SELECT ?answer WHERE { wd:/Louise Bourgeois/ wdt:/notable work/ ?answer . ?answer wdt:/coordinate location/ ?x FILTER(contains(?x,'-77.0233'))} |
Generate a SPARQL query that returns the answer of the following question. | WHICH HAS INFLUENCE OF POTRAIT OF HEY JUDE | SELECT ?answer WHERE { wd:/Hey Jude/ wdt:/performer/ ?X . ?X wdt:/influenced by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the wavelength of the Radio Astronomical Telescope Academy Nauk 600 is greater than 24.88? | ASK WHERE { wd:/Radio Astronomical Telescope Academy Nauk 600/ wdt:/wavelength/ ?obj filter(?obj > 24.88) } |
Generate a SPARQL query that returns the answer of the following question. | What language did the Ancient Greek's speak? | select distinct ?obj where { wd:/Ancient Greek/ wdt:/dialect of/ ?obj . ?obj wdt:/instance of/ wd:/language/ } |
Generate a SPARQL query that returns the answer of the following question. | When was William Henry Harrison President of the United States? | SELECT ?value WHERE { wd:/William Henry Harrison/ p:/position held/ ?s . ?s ps:/position held/ wd:/President of the United States/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is Adi Shankara's estimated date of death? | SELECT ?obj WHERE { wd:/Adi Shankara/ p:/date of death/ ?s . ?s ps:/date of death/ ?obj . ?s pq:/sourcing circumstances/ wd:/circa/ } |
Generate a SPARQL query that returns the answer of the following question. | which civil war starts with the letter w | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/civil war/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'w')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What job did Dorothy Stratten have during 1979? | SELECT ?obj WHERE { wd:/Dorothy Stratten/ p:/occupation/ ?s . ?s ps:/occupation/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1979')) } |
Generate a SPARQL query that returns the answer of the following question. | What is the reason for Kosovo sharing a border with Albania? | SELECT ?value WHERE { wd:/Kosovo/ p:/shares border with/ ?s . ?s ps:/shares border with/ wd:/Albania/ . ?s pq:/statement is subject of/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Name a subsidiary of the company Sears | select distinct ?sbj where { ?sbj wdt:/has subsidiary/ wd:/Sears/ . ?sbj wdt:/instance of/ wd:/business/ } |
Generate a SPARQL query that returns the answer of the following question. | What did Ruth Prawer Jhabvala win Academy Award for Best Writing, Adapted Screenplay for? | SELECT ?value WHERE { wd:/Ruth Prawer Jhabvala/ p:/award received/ ?s . ?s ps:/award received/ wd:/Academy Award for Best Writing, Adapted Screenplay/ . ?s pq:/for work/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which city is the capital of Maurya Empire? | select distinct ?sbj where { ?sbj wdt:/capital of/ wd:/Maurya Empire/ . ?sbj wdt:/instance of/ wd:/city/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the International Tennis Federation head office location located within zip code 1017-1018? | SELECT ?answer WHERE { wd:/International Table Tennis Federation/ wdt:/headquarters location/ ?answer . ?answer wdt:/postal code/ ?x FILTER(contains(?x,'1017–1018'))} |
Generate a SPARQL query that returns the answer of the following question. | What language is most used y humans ? | select distinct ?sbj where { ?sbj wdt:/used by/ wd:/human/ . ?sbj wdt:/instance of/ wd:/type of language/ } |
Generate a SPARQL query that returns the answer of the following question. | What award did Godzilla receive? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Godzilla/ wdt:/award received/ ?ans_1 . wd:/Godzilla/ wdt:/present in work/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What year did Giza Governorate have a population of 6.29432e+06? | SELECT ?value WHERE { wd:/Giza Governorate/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'6.29432e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | In what role did David the Second of Scotland, replace Robert the First of Scotland? | SELECT ?obj WHERE { wd:/Robert I of Scotland/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/replaced by/ wd:/David II of Scotland/ } |
Generate a SPARQL query that returns the answer of the following question. | Who are the {characters} in {Exodus}, the has a {brother or sister} named {Nadabe}? | SELECT ?answer WHERE { wd:/Exodus/ wdt:/characters/ ?answer . ?answer wdt:/sibling/ wd:/Nadab/} |
Generate a SPARQL query that returns the answer of the following question. | What are the phenomenon which start with the letter s | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/phenomenon/ . ?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. | Tell me health profession whose name has the word registrar in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/health profession/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'registrar')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Which is the mausoleum which contains the word zuihōden in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/mausoleum/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'zuihōden')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What position did Edmund I of England hold beginning in 939? | SELECT ?obj WHERE { wd:/Edmund I of England/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(?x,'939-0-0')) } |
Generate a SPARQL query that returns the answer of the following question. | What is {located in time zone} of {Mönchengladbach} which is {valid in period} is {standard time} ? | SELECT ?obj WHERE { wd:/Mönchengladbach/ p:/located in time zone/ ?s . ?s ps:/located in time zone/ ?obj . ?s pq:/valid in period/ wd:/standard time/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the relationship that exists between Johann Sebastian Bach and Johann Jacob Bach | SELECT ?value WHERE { wd:/Johann Sebastian Bach/ p:/sibling/ ?s . ?s ps:/sibling/ wd:/Johann Jacob Bach/ . ?s pq:/kinship to subject/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is the Malta VAT-rate less than 14.4? | ASK WHERE { wd:/Malta/ wdt:/VAT rate/ ?obj filter(?obj < 14.4) } |
Generate a SPARQL query that returns the answer of the following question. | For what film was Catherine Deneuve nominated for the César Award for Best Actress? | SELECT ?value WHERE { wd:/Catherine Tricolci/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/César Award for Best Actress/ . ?s pq:/for work/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | which is the point time for syria has population as 8.08815e+06? | SELECT ?value WHERE { wd:/Syria/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'8.08815e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Name the tributary of Bay Bengal for which the river source is Chembarambakkam Lake. | SELECT ?answer WHERE { wd:/Bay of Bengal/ wdt:/tributary/ ?answer . ?answer wdt:/origin of the watercourse/ wd:/Chembarambakkam Lake/} |
Generate a SPARQL query that returns the answer of the following question. | Did Mel Brooks received an award with Laurence Olivier Award for Best Actor in a Musical and Drama Desk Award for Outstanding Lyrics? | ASK WHERE { wd:/Mel Brooks/ wdt:/award received/ wd:/Laurence Olivier Award for Best Actor in a Musical/ . wd:/Mel Brooks/ wdt:/award received/ wd:/Drama Desk Award for Outstanding Lyrics/ } |
Generate a SPARQL query that returns the answer of the following question. | What is Pete Maravich's competition class, position and specialty on his team? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Pete Maravich/ wdt:/competition class/ ?ans_1 . wd:/Pete Maravich/ wdt:/position played on team / speciality/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Is the minimal lethal dose of the benzene equal to 170000? | ASK WHERE { wd:/benzene/ wdt:/minimal lethal dose/ ?obj filter(?obj = 170000) } |
Generate a SPARQL query that returns the answer of the following question. | What multiple starts with the letter "h"? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/multiple/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'h')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Which is the taxon parent of the ingredient of squab? | SELECT ?answer WHERE { wd:/squab/ wdt:/made from material/ ?X . ?X wdt:/parent taxon/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which {record label} and the {genre} is of {Radiohead} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Radiohead/ wdt:/record label/ ?ans_1 . wd:/Radiohead/ wdt:/genre/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What is the capital of the area where Francisco Pizarro passed away? | select distinct ?obj where { wd:/Francisco Pizarro/ wdt:/place of death/ ?obj . ?obj wdt:/instance of/ wd:/capital city/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the electric charge of the pion equals to -1? | ASK WHERE { wd:/pion/ wdt:/electric charge/ ?obj filter(?obj = -1) } |
Generate a SPARQL query that returns the answer of the following question. | How has Albania's diplomacy blossomed to 1.359? | SELECT ?answer WHERE { wd:/Albania/ wdt:/diplomatic relation/ ?answer . ?answer wdt:/total fertility rate/ ?x FILTER(contains(?x,'1.359'))} |
Generate a SPARQL query that returns the answer of the following question. | What is the final time for Wayde van Niekerk has a partecipant of 2015 World Championships in Athletics - Men's 400 metres?) | SELECT ?value WHERE { wd:/Wayde van Niekerk/ p:/participant in/ ?s . ?s ps:/participant in/ wd:/2015 World Championships in Athletics – men's 400 metres/ . ?s pq:/race time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | TELL ME EMIRATE OF THE UNITED ARAB EMIRATES WHOSE NAME HAS THE WORD FUJAIRAH IN IT | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/emirate of the United Arab Emirates/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'fujairah')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | TELL ME WHICH IS THE MONOTYPIC TAXON STARTS WITH T | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/monotypic taxon/ . ?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 is the motion picture studio which has made 'The Archers', which has received the award 'Satellite Award for Best Miniseries'? | SELECT ?answer WHERE { wd:/The Archers/ wdt:/production company/ ?answer . ?answer wdt:/award received/ wd:/Satellite Award for Best Miniseries/} |
Generate a SPARQL query that returns the answer of the following question. | What was the population of the Al Sharqia Governorate on 2017-3-28 ? | SELECT ?obj WHERE { wd:/Sharqia Governorate/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2017')) } |
Generate a SPARQL query that returns the answer of the following question. | what is the silent short film with the highest duration? | select ?ent where { ?ent wdt:/instance of/ wd:/silent short film/ . ?ent wdt:/duration/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What are the chemical reaction which start with the letter s | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/chemical reaction/ . ?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. | What is female about Jan Karol Chodkiewicz, which is not the same as a man? | SELECT ?answer WHERE { wd:/Jan Karol Chodkiewicz/ wdt:/sex or gender/ ?answer . ?answer wdt:/different from/ wd:/man/} |
Generate a SPARQL query that returns the answer of the following question. | What is the main food source and the locomotion means of Orangutan? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Orangutan/ wdt:/main food source/ ?ans_1 . wd:/Orangutan/ wdt:/means of locomotion/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Was Bernie Sanders married to Jane O'Meara Sanders? | ASK WHERE { wd:/Bernie Sanders/ wdt:/spouse/ wd:/Jane O'Meara Sanders/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me a part of fungi that starts with {'s'} | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/fungal structure/ . ?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 municipalites of Jiangsu have dialing code 511? | SELECT ?answer WHERE { wd:/Jiangsu/ wdt:/contains the administrative territorial entity/ ?answer . ?answer wdt:/local dialing code/ ?x FILTER(contains(?x,'511'))} |
Generate a SPARQL query that returns the answer of the following question. | Which is the occupational carcinogen for the polymer of polyvinyl chloride? | select distinct ?obj where { wd:/polyvinyl chloride/ wdt:/polymer of/ ?obj . ?obj wdt:/instance of/ wd:/occupational carcinogen/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is the genetic association of the murder method of José Ferrer? | SELECT ?answer WHERE { wd:/José Ferrer/ wdt:/cause of death/ ?X . ?X wdt:/genetic association/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who was born in Monterrey? | select distinct ?sbj where { ?sbj wdt:/place of birth/ wd:/Monterrey/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What is Salt Lake City's category for films shot and the associated people? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Salt Lake City/ wdt:/category for films shot at this location/ ?ans_1 . wd:/Salt Lake City/ wdt:/category of associated people/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What is the study of meteorology whose consequence is Chitado air disaster? | SELECT ?answer WHERE { wd:/meteorology/ wdt:/is the study of/ ?answer . ?answer wdt:/has effect/ wd:/Chitado air disaster/} |
Generate a SPARQL query that returns the answer of the following question. | What racing team was Ayrton Senna part of in 1994? | SELECT ?obj WHERE { wd:/Ayrton Senna/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1994')) } |
Generate a SPARQL query that returns the answer of the following question. | What is an umbrella term that starts with u? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/umbrella term/ . ?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. | At what university did Douglas Adams study English literature? | SELECT ?obj WHERE { wd:/Douglas Adams/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/academic major/ wd:/English literature/ } |
Generate a SPARQL query that returns the answer of the following question. | What literary work follows the book of Exodus? | select distinct ?obj where { wd:/Exodus/ wdt:/follows/ ?obj . ?obj wdt:/instance of/ wd:/literary work/ } |
Generate a SPARQL query that returns the answer of the following question. | Name the musical instrument used in song Face to the Sky song | SELECT ?answer WHERE { wd:/Face to the Sky/ wdt:/lyrics by/ ?X . ?X wdt:/instrument/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What albums and films has 50 Cent been in? | SELECT ?ans_1 ?ans_2 WHERE { wd:/50 Cent/ wdt:/discography/ ?ans_1 . wd:/50 Cent/ wdt:/filmography/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Which is the magazine with place of publication in New York City and that contains the word vibe in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/magazine/ . ?sbj wdt:/place of publication/ wd:/New York City/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vibe')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the film starring of Bicycle Thieves whose date of the end is 1983-4-22? | SELECT ?answer WHERE { wd:/Bicycle Thieves/ wdt:/cast member/ ?answer . ?answer wdt:/date of death/ ?x FILTER(contains(YEAR(?x),'1983'))} |
Generate a SPARQL query that returns the answer of the following question. | How many offers view applicable in the {Appalachian Mountains} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/offers view on/ wd:/Appalachian Mountains/ } |
Generate a SPARQL query that returns the answer of the following question. | When did Rostack become a part of the German Democratic Republic? | SELECT ?value WHERE { wd:/Rostock/ p:/country/ ?s . ?s ps:/country/ wd:/German Democratic Republic/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When was the Nintendo 3DS published from Australia? | SELECT ?obj WHERE { wd:/Nintendo 3DS/ p:/publication date/ ?s . ?s ps:/publication date/ ?obj . ?s pq:/place of publication/ wd:/Australia/ } |
Generate a SPARQL query that returns the answer of the following question. | What territory is Montreal the capitol of? | select distinct ?obj where { wd:/Montreal/ wdt:/contains the administrative territorial entity/ ?obj . ?obj wdt:/instance of/ wd:/borough of Montreal/ } |
Generate a SPARQL query that returns the answer of the following question. | Where does Gloria Estefan work and where did her formation occur? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Gloria Estefan/ wdt:/work location/ ?ans_1 . wd:/Gloria Estefan/ wdt:/location of formation/ ?ans_2 } |
Subsets and Splits