instruction
stringclasses 1
value | input
stringlengths 1
655
| output
stringlengths 47
392
|
---|---|---|
Generate a SPARQL query that returns the answer of the following question. | Who is the child and spouse of Quincy Jones? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Quincy Jones/ wdt:/child/ ?ans_1 . wd:/Quincy Jones/ wdt:/spouse/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | how many sexual orientations are bisexual? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/sexual orientation/ wd:/bisexuality/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the Christian denomination which start with the letter united | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/Christian denomination/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'united')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Where was the Revolution of 1905, which is observed as a holiday called Russia Day? | SELECT ?answer WHERE { wd:/Russian Revolution of 1905/ wdt:/location/ ?answer . ?answer wdt:/public holiday/ wd:/Russia Day/} |
Generate a SPARQL query that returns the answer of the following question. | How many records are held by Lionel Messi? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/statistical leader/ wd:/Lionel Messi/ } |
Generate a SPARQL query that returns the answer of the following question. | What award did Joseph Lister, 1st Baron of Lister win? | SELECT ?answer WHERE { wd:/Joseph Lister, 1st Baron Lister/ wdt:/award received/ ?X . ?X wdt:/winner/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | does foreground depicts grande odalisque? | SELECT ?obj WHERE { wd:/Grande Odalisque/ p:/depicts/ ?s . ?s ps:/depicts/ ?obj . ?s pq:/applies to part/ wd:/foreground/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is {flag image} of {Falkland Islands} whose {end time} is {1925-0-0} ? | SELECT ?obj WHERE { wd:/Falkland Islands/ p:/flag image/ ?s . ?s ps:/flag image/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1925')) } |
Generate a SPARQL query that returns the answer of the following question. | What award did George F. Kennan receive in 1957? | SELECT ?obj WHERE { wd:/George F. Kennan/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1957')) } |
Generate a SPARQL query that returns the answer of the following question. | Which isotope of barium decaying to caesium-116 has the most binding energy ? | select ?ent where { ?ent wdt:/instance of/ wd:/isotope of barium/ . ?ent wdt:/binding energy/ ?obj . ?ent wdt:/decays to/ wd:/caesium-116/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | How many public holidays are on Boxing Day? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/public holiday/ wd:/Boxing Day/ } |
Generate a SPARQL query that returns the answer of the following question. | What is similar to Atheism and what is its opposite? | SELECT ?ans_1 ?ans_2 WHERE { wd:/atheism/ wdt:/partially coincident with/ ?ans_1 . wd:/atheism/ wdt:/opposite of/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Name the carbon-containing flammable gas with the lowest standard enthalpy of formation ? | select ?ent where { ?ent wdt:/instance of/ wd:// . ?ent wdt:/standard enthalpy of formation/ ?obj . ?ent wdt:/has part(s)/ wd:/carbon/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What country did Virginia Woolf have citizenship for starting January 25, 1882? | SELECT ?obj WHERE { wd:/Virginia Woolf/ p:/country of citizenship/ ?s . ?s ps:/country of citizenship/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1882')) } |
Generate a SPARQL query that returns the answer of the following question. | What is the record label and the discography of Nickelback ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Nickelback/ wdt:/record label/ ?ans_1 . wd:/Nickelback/ wdt:/discography/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Tell me a human who may be fictional that has the word cech in their name. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/human who may be fictional/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'čech')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Tell me military order whose name has the word saint in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/religious military order/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'saint')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | When did Chris Hadfield win the doctor honoris causa? | SELECT ?value WHERE { wd:/Chris Hadfield/ p:/award received/ ?s . ?s ps:/award received/ wd:/honorary doctorate/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What are the orthologs of genetic association of amytrophic lateral sclerosis? | SELECT ?answer WHERE { wd:/amyotrophic lateral sclerosis/ wdt:/genetic association/ ?X . ?X wdt:/ortholog/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | At what point in time did Monaco have a population of 25809? | SELECT ?value WHERE { wd:/Monaco/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'25809.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Phil Collins hosted what benefit concert? | select distinct ?sbj where { ?sbj wdt:/presenter/ wd:/Phil Collins/ . ?sbj wdt:/instance of/ wd:/benefit concert/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is the regulatory authority responsible for Esperanto? | select distinct ?obj where { wd:/Esperanto/ wdt:/language regulatory body/ ?obj . ?obj wdt:/instance of/ wd:/academia/ } |
Generate a SPARQL query that returns the answer of the following question. | Name the order of temporal magnitude with the largest conversion to SI units ? | select ?ent where { ?ent wdt:/instance of/ wd:/order of temporal magnitude/ . ?ent wdt:/conversion to SI unit/ ?obj . ?ent wdt:/instance of/ wd:/order of temporal magnitude/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Where was Wladyslaw Reymount given birth to in Kobiele Wielkie? | SELECT ?value WHERE { wd:/Władysław Reymont/ p:/place of birth/ ?s . ?s ps:/place of birth/ wd:/Kobiele Wielkie/ . ?s pq:/country/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who performed the role of fictional human for Ben Affleck}? | select distinct ?sbj where { ?sbj wdt:/performer/ wd:/Ben Affleck/ . ?sbj wdt:/instance of/ wd:/fictional human/ } |
Generate a SPARQL query that returns the answer of the following question. | What Transylvanian country ended in 1804? | SELECT ?obj WHERE { wd:/Transylvania/ p:/country/ ?s . ?s ps:/country/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1804')) } |
Generate a SPARQL query that returns the answer of the following question. | What song is Andrew Lloyd Webber the composer of? | select distinct ?sbj where { ?sbj wdt:/composer/ wd:/Andrew Lloyd Webber/ . ?sbj wdt:/instance of/ wd:/song/ } |
Generate a SPARQL query that returns the answer of the following question. | When did Sergei Korolev receive the Medal in Commemoration of the 800th Anniversary of Moscow? | SELECT ?value WHERE { wd:/Sergei Korolev/ p:/award received/ ?s . ?s ps:/award received/ wd:/Medal "In Commemoration of the 800th Anniversary of Moscow"/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Tell me the redshift of the planetary system called R136. | SELECT ?answer WHERE { wd:/R136/ wdt:/parent astronomical body/ ?X . ?X wdt:/redshift/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | which is the {point in time} for {Kelly Ripa} that has {nominated for} as {Daytime Emmy Award for Outstanding Talk Show Host} ? | SELECT ?value WHERE { wd:/Kelly Ripa/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Daytime Emmy Award for Outstanding Talk Show Host/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What altitude is adjacent to Balikpapan? | SELECT ?answer WHERE { wd:/Balikpapan/ wdt:/shares border with/ ?X . ?X wdt:/elevation above sea level/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Tell me a legal status that begins with the letter s. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/legal status/ . ?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. | When did Almaty start being the capital of the Almaty Region? | SELECT ?value WHERE { wd:/Almaty/ p:/capital of/ ?s . ?s ps:/capital of/ wd:/Almaty Region/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which bridge is maintained by Amtrak? | select distinct ?sbj where { ?sbj wdt:/maintained by/ wd:/Amtrak/ . ?sbj wdt:/instance of/ wd:/bridge/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the grants for the {Master of Business Administration} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/grants/ wd:/Master of Business Administration/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the state of Mexico which start with the letter z | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/state of Mexico/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'z')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is phosphine like? | SELECT ?answer WHERE { wd:/phosphine/ wdt:/has effect/ ?X . ?X wdt:/symptoms and signs/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What award did Christopher Lambert receive in 1986? | SELECT ?obj WHERE { wd:/Christopher Lambert/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1986')) } |
Generate a SPARQL query that returns the answer of the following question. | Is the muzzle velocity of the 5"/38 caliber gun equal to 790? | ASK WHERE { wd:/5"/38 caliber gun/ wdt:/muzzle velocity/ ?obj filter(?obj = 790) } |
Generate a SPARQL query that returns the answer of the following question. | How many official religions are there for the {Protestantism} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/official religion/ wd:/Protestantism/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the number of works of the Boston Public Library is more than 17880000.0? | ASK WHERE { wd:/Boston Public Library/ wdt:/number of works/ ?obj filter(?obj > 17880000.0) } |
Generate a SPARQL query that returns the answer of the following question. | which force starts with the letter f | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/force/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'f')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | How do you now that Mycenae has a 354 residents | SELECT ?value WHERE { wd:/Mycenae/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'354')) . ?s pq:/determination method/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Name a parent taxon of Spinacia oleracea | select distinct ?obj where { wd:/Spinacia oleracea/ wdt:/parent taxon/ ?obj . ?obj wdt:/instance of/ wd:/taxon/ } |
Generate a SPARQL query that returns the answer of the following question. | How much market capitalization are for JPMorgan Chase? | SELECT (COUNT(?obj) AS ?value ) { wd:/JPMorgan Chase/ wdt:/market capitalization/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | Was Alexander Graham Bell a member of Phi Beta Kappa Society and Medical University of Vienna? | ASK WHERE { wd:/Alexander Graham Bell/ wdt:/member of/ wd:/Phi Beta Kappa Society/ . wd:/Alexander Graham Bell/ wdt:/member of/ wd:/Medical University of Vienna/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the population of Makati on 2010-5-1? | SELECT ?obj WHERE { wd:/Makati/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2010')) } |
Generate a SPARQL query that returns the answer of the following question. | In what year was Ice-T nominated for the MTV Video Music Award for Best Video from a Film? | SELECT ?value WHERE { wd:/Ice-T/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/MTV Video Music Award for Best Video from a Film/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When was Ann Dunham married to Lolo Soetoro? | SELECT ?value WHERE { wd:/Stanley Ann Dunham/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Lolo Soetoro/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which office of Mulifunctionl polymerc micelles offer cancer targeted MRI-ultrasensitive drug delivery systems? | SELECT ?answer WHERE { wd:/Multifunctional polymeric micelles as cancer-targeted, MRI-ultrasensitive drug delivery systems./ wdt:/published in/ ?X . ?X wdt:/field of work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the history of the Indian Reserve at Nanyang Technological University? | SELECT ?answer WHERE { wd:/Nanyang Technological University/ wdt:/located in the administrative territorial entity/ ?X . ?X wdt:/history of topic/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many philosopher's are patron saint's? | SELECT (COUNT(?obj) AS ?value ) { wd:/philosopher/ wdt:/patron saint/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What does sexual intercourse and vaginal intercourse cause? | ASK WHERE { wd:/abortion/ wdt:/has cause/ wd:/sexual intercourse/ . wd:/abortion/ wdt:/has cause/ wd:/vaginal intercourse/ } |
Generate a SPARQL query that returns the answer of the following question. | Where in Israel did Ovadia Yosef die? | SELECT ?obj WHERE { wd:/Ovadia Yosef/ p:/place of death/ ?s . ?s ps:/place of death/ ?obj . ?s pq:/country/ wd:/Israel/ } |
Generate a SPARQL query that returns the answer of the following question. | Which humans reside in Rotterdam? | select distinct ?sbj where { ?sbj wdt:/residence/ wd:/Rotterdam/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Which of the work of Rodin is significant? | SELECT ?answer WHERE { wd:/Auguste Rodin/ wdt:/notable work/ ?X . ?X wdt:/collection/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the thunder god which start with the letter zeus | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/thunder god/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'zeus')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who is the favorite player of the music by American Dream? | SELECT ?answer WHERE { wd:/American Dream/ wdt:/composer/ ?X . ?X wdt:/influenced by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is the spouse of Ivan Pyryev on 1936-0-0? | SELECT ?obj WHERE { wd:/Ivan Pyryev/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1936')) } |
Generate a SPARQL query that returns the answer of the following question. | What is the sound of user of spoon? | SELECT ?answer WHERE { wd:/spoon/ wdt:/used by/ ?X . ?X wdt:/produced sound/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | who division of teams played for of harry beadles ? | SELECT ?answer WHERE { wd:/Harry Beadles/ wdt:/member of sports team/ ?X . ?X wdt:/league/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When was Pablo Picasso's partnership with Fernade Oliver over? | SELECT ?value WHERE { wd:/Pablo Picasso/ p:/unmarried partner/ ?s . ?s ps:/unmarried partner/ wd:/Fernande Olivier/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What films has Ellen DeGeneres produced? | select distinct ?sbj where { ?sbj wdt:/producer/ wd:/Ellen DeGeneres/ . ?sbj wdt:/instance of/ wd:/film/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the animated skunk in Looney Tunes? | select distinct ?sbj where { ?sbj wdt:/present in work/ wd:/Looney Tunes/ . ?sbj wdt:/instance of/ wd:/fictional skunk/ } |
Generate a SPARQL query that returns the answer of the following question. | Where is the zip code 91040-91043, where the show Dexter is set? | SELECT ?answer WHERE { wd:/Dexter/ wdt:/narrative location/ ?answer . ?answer wdt:/postal code/ ?x FILTER(contains(?x,'91040–91043'))} |
Generate a SPARQL query that returns the answer of the following question. | What was the second position held by Pierre de Coubertin? | SELECT ?obj WHERE { wd:/Pierre de Coubertin/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/series ordinal/ ?x filter(contains(?x,'2')) } |
Generate a SPARQL query that returns the answer of the following question. | What tv program was the Eurovision Song Contents inspried by | select distinct ?obj where { wd:/Eurovision Song Contest/ wdt:/inspired by/ ?obj . ?obj wdt:/instance of/ wd:/television program/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is the Wikidata property for lexicographical data that is subject to Chinese characters? | select distinct ?sbj where { ?sbj wdt:/Wikidata item of this property/ wd:/Chinese characters/ . ?sbj wdt:/instance of/ wd:/Wikidata property for lexicographical data/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is the spouse of the Sailor Moon author? | SELECT ?answer WHERE { wd:/Sailor Moon/ wdt:/screenwriter/ ?X . ?X wdt:/spouse/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | At what point in history did Cologne have a population of 1.0817e+06? | SELECT ?value WHERE { wd:/Cologne/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'1.0817e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the mother of Jesus Christ | select distinct ?obj where { wd:/Jesus/ wdt:/mother/ ?obj . ?obj wdt:/instance of/ wd:/human biblical figure/ } |
Generate a SPARQL query that returns the answer of the following question. | What are theheavy equipment which start with the letter tractor | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/heavy equipment/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'tractor')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the coordinates of southern basin countries of the Columbia River?Wh | SELECT ?answer WHERE { wd:/Columbia River/ wdt:/basin country/ ?X . ?X wdt:/coordinates of southernmost point/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Alexander Shelepin stop being chairperson for the KGB? | SELECT ?value WHERE { wd:/KGB/ p:/chairperson/ ?s . ?s ps:/chairperson/ wd:/Alexander Shelepin/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is 0 the the number of houses of the Schuleroch? | ASK WHERE { wd:/Schulerloch/ wdt:/number of houses/ ?obj filter(?obj = 0) } |
Generate a SPARQL query that returns the answer of the following question. | What is the name of Hannah Murray's character on Game of Thrones? | SELECT ?value WHERE { wd:/Game of Thrones/ p:/cast member/ ?s . ?s ps:/cast member/ wd:/Hannah Murray/ . ?s pq:/character role/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who had the title of Mary in the Spanish Empire? | select distinct ?obj where { wd:/Spanish Empire/ wdt:/patron saint/ ?obj . ?obj wdt:/instance of/ wd:/title of Virgin Mary/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the translated version of Septuagint? | select distinct ?obj where { wd:/Septuagint/ wdt:/edition or translation of/ ?obj . ?obj wdt:/instance of/ wd:/written work/ } |
Generate a SPARQL query that returns the answer of the following question. | What type of business does Nintendo work on? | select distinct ?obj where { wd:/Nintendo/ wdt:/business division/ ?obj . ?obj wdt:/instance of/ wd:/division/ } |
Generate a SPARQL query that returns the answer of the following question. | On June 30th, 2017, what was the population of Katowice? | SELECT ?obj WHERE { wd:/Katowice/ 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. | Is the density of the water less than 1.169832? | ASK WHERE { wd:/water/ wdt:/density/ ?obj filter(?obj < 1.169832) } |
Generate a SPARQL query that returns the answer of the following question. | Who was Michael Foucault's student? | select distinct ?obj where { wd:/Michel Foucault/ wdt:/student/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | How many linguistic typology for Japanese? | SELECT (COUNT(?obj) AS ?value ) { wd:/Japanese/ wdt:/linguistic typology/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the timezone of the continent of decolonized Oceania? | SELECT ?answer WHERE { wd:/decolonisation of Oceania/ wdt:/continent/ ?X . ?X wdt:/located in time zone/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What was Anne Bancroft nominated for in 1967? | SELECT ?obj WHERE { wd:/Anne Bancroft/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1967')) } |
Generate a SPARQL query that returns the answer of the following question. | What is the ethnicity of Luigi Pirandello, who studies the science, that is Italian studies? | SELECT ?answer WHERE { wd:/Luigi Pirandello/ wdt:/ethnic group/ ?answer . ?answer wdt:/studied by/ wd:/Italian studies/} |
Generate a SPARQL query that returns the answer of the following question. | Tell me the kingdom which contains the world "joseon" in its name and whose office is headed by King of Joseon Dynasty. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/kingdom/ . ?sbj wdt:/office held by head of state/ wd:/king of Joseon Dynasty/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'joseon')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Was Aileen Wuornos convicted of depraved heart murder and robbery? | ASK WHERE { wd:/Aileen Wuornos/ wdt:/convicted of/ wd:/depraved-heart murder/ . wd:/Aileen Wuornos/ wdt:/convicted of/ wd:/robbery/ } |
Generate a SPARQL query that returns the answer of the following question. | What was the population of the Vysočina Region on 1st January 2016? | SELECT ?obj WHERE { wd:/Vysočina Region/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2016')) } |
Generate a SPARQL query that returns the answer of the following question. | What award did Henry Dunant receive that granted him $75,391 in prize money? | SELECT ?obj WHERE { wd:/Henry Dunant/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/prize money/ ?x filter(contains(?x,'75391.0')) } |
Generate a SPARQL query that returns the answer of the following question. | How many people worshipped Yahweh? | SELECT (COUNT(?obj) AS ?value ) { wd:/Yahweh/ wdt:/worshipped by/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the Old English dialects dialect? | select distinct ?sbj where { ?sbj wdt:/dialect of/ wd:/Old English/ . ?sbj wdt:/instance of/ wd:/dialect/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is {twinned administrative body} of {Dortmund} where {start time} is {1981-0-0} ? | SELECT ?obj WHERE { wd:/Dortmund/ p:/twinned administrative body/ ?s . ?s ps:/twinned administrative body/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1981')) } |
Generate a SPARQL query that returns the answer of the following question. | What kind of pet has the least frequency of audible sound? | select ?ent where { ?ent wdt:/instance of/ wd:/common name/ . ?ent wdt:/minimum frequency of audible sound/ ?obj . ?ent wdt:/has use/ wd:/pet/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Who is the {doctoral student} and the {doctoral advisor} of {Louis_Pasteur} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Louis Pasteur/ wdt:/doctoral student/ ?ans_1 . wd:/Louis Pasteur/ wdt:/doctoral advisor/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What branch of science did Claude Shannon work in? | select distinct ?obj where { wd:/Claude Shannon/ wdt:/field of work/ ?obj . ?obj wdt:/instance of/ wd:/branch of science/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the working life museum with the lowest lighthouse range whose source of energy is rapeseed oil ? | select ?ent where { ?ent wdt:/instance of/ wd:/working life museum/ . ?ent wdt:/lighthouse range/ ?obj . ?ent wdt:/source of energy/ wd://. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | How many sources of energy are used in automobiles? | SELECT (COUNT(?obj) AS ?value ) { wd:/motor car/ wdt:/source of energy/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the daughter of Leopold II, Holy Roman Emperor, whose sister is Maria Anna d'Asburgo-Lorena? | SELECT ?answer WHERE { wd:/Leopold II, Holy Roman Emperor/ wdt:/child/ ?answer . ?answer wdt:/sibling/ wd:/Archduchess Maria Anna of Austria/} |
Generate a SPARQL query that returns the answer of the following question. | What position did Jean le Rond D'Alembert begin holding in 1772? | SELECT ?obj WHERE { wd:/Jean le Rond d'Alembert/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1772')) } |