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 year did the 3M company have a total revenue of 26.6 billion dollars? | SELECT ?value WHERE { wd:/3M/ p:/total revenue/ ?s . ?s ps:/total revenue/ ?x filter(contains(?x,'2.66e+10')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How was the population of Alberta determined to be 4,306,039? | SELECT ?value WHERE { wd:/Alberta/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'4306039')) . ?s pq:/determination method/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the composed by of the described by work of Lizard ? | SELECT ?answer WHERE { wd:/Lizard/ wdt:/present in work/ ?X . ?X wdt:/composer/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who wrote the sequel to The Glory? | SELECT ?answer WHERE { wd:/The Glory/ wdt:/follows/ ?X . ?X wdt:/author/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the {foods traditionally associated} and the {commemorates} of {Hanukkah} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Hanukkah/ wdt:/foods traditionally associated/ ?ans_1 . wd:/Hanukkah/ wdt:/commemorates/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What is the population of Angers as determined by population without double counting? | SELECT ?obj WHERE { wd:/Angers/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/determination method/ wd:/population without double counting/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me private not-for-profit educational institution whose name has the word university in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/private not-for-profit educational institution/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'university')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Was the Nobel Prize granted by the Karolinska Institute and the Nobel Assembly at the Karolinska Institute? | ASK WHERE { wd:/Nobel Prize/ wdt:/conferred by/ wd:/Karolinska Institutet/ . wd:/Nobel Prize/ wdt:/conferred by/ wd:/Nobel Assembly at the Karolinska Institute/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the population count of Greece in year 2012 | SELECT ?obj WHERE { wd:/Greece/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2012')) } |
Generate a SPARQL query that returns the answer of the following question. | What art exhibition did David Hockney participate in? | select distinct ?sbj where { ?sbj wdt:/participant/ wd:/David Hockney/ . ?sbj wdt:/instance of/ wd:/art exhibition/ } |
Generate a SPARQL query that returns the answer of the following question. | What NFPA-listed chemical compound has the most potential to contribute to global warming? | select ?ent where { ?ent wdt:/instance of/ wd:/chemical compound/ . ?ent wdt:/global warming potential/ ?obj . ?ent wdt:/safety classification and labelling/ wd:/NFPA 704: Standard System for the Identification of the Hazards of Materials for Emergency Response/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Name a moon of uranus | select distinct ?obj where { wd:/Uranus/ wdt:/child astronomical body/ ?obj . ?obj wdt:/instance of/ wd:/moon of Uranus/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is the colonial empire that has as basic form of government the constitutional monarchy and that contains the word british in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/colonial empire/ . ?sbj wdt:/basic form of government/ wd:/constitutional monarchy/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'british')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the suicide rate of Nara Prefecture equals to 20.736? | ASK WHERE { wd:/Nara Prefecture/ wdt:/suicide rate/ ?obj filter(?obj = 20.736) } |
Generate a SPARQL query that returns the answer of the following question. | Which is {cases} of {language used} in {Ismail Kadare} ? | SELECT ?answer WHERE { wd:/Ismail Kadare/ wdt:/languages spoken, written or signed/ ?X . ?X wdt:/has grammatical case/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the title of the sequel to Lila: An Inquiry into Morals and who authored it? | SELECT ?answer WHERE { wd:/Lila: An Inquiry into Morals/ wdt:/follows/ ?X . ?X wdt:/author/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many cell compenents do mitochondrion have? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/cell component/ wd:/mitochondrion/ } |
Generate a SPARQL query that returns the answer of the following question. | Who gave the {academic subject} of {part of work} of {The Cdc14B-Cdh1-Plk1 axis controls the G2 DNA-damage-response checkpoint} ? | SELECT ?answer WHERE { wd:/The Cdc14B-Cdh1-Plk1 axis controls the G2 DNA-damage-response checkpoint/ wdt:/published in/ ?X . ?X wdt:/field of work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the luminous intensity of the Bathurst Lighthouse equal to 13800? | ASK WHERE { wd:/Bathurst Lighthouse/ wdt:/luminous intensity/ ?obj filter(?obj = 13800) } |
Generate a SPARQL query that returns the answer of the following question. | As a higher taxon of Abies, name the plant known by the common name of ( script). | SELECT ?answer WHERE { wd:/Abies/ wdt:/parent taxon/ ?answer . ?answer wdt:/taxon common name/ ?x FILTER(contains(?x,'松科'))} |
Generate a SPARQL query that returns the answer of the following question. | What was the population of Gambia in the year 2009? | SELECT ?obj WHERE { wd:/The Gambia/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2009')) } |
Generate a SPARQL query that returns the answer of the following question. | Where was Paul VI born in, which is adjacent to Cellatica? | SELECT ?answer WHERE { wd:/Paul VI/ wdt:/place of birth/ ?answer . ?answer wdt:/shares border with/ wd:/Cellatica/} |
Generate a SPARQL query that returns the answer of the following question. | What was the total fertility rate of Eritrea in the year 2000? | SELECT ?obj WHERE { wd:/Eritrea/ p:/total fertility rate/ ?s . ?s ps:/total fertility rate/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2000')) } |
Generate a SPARQL query that returns the answer of the following question. | Who was Michael Faraday's teacher ? | select distinct ?sbj where { ?sbj wdt:/student/ wd:/Michael Faraday/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the vertical depth of Midenata peshtera equal to 0? | ASK WHERE { wd:/Midenata peshtera/ wdt:/vertical depth/ ?obj filter(?obj = 0) } |
Generate a SPARQL query that returns the answer of the following question. | Who is married to Lyudmila Gurchenko, whose party is Communist Party of the Soviet Union? | SELECT ?answer WHERE { wd:/Lyudmila Gurchenko/ wdt:/spouse/ ?answer . ?answer wdt:/member of political party/ wd:/Communist Party of the Soviet Union/} |
Generate a SPARQL query that returns the answer of the following question. | What method is used to determine the total fertility rate of Morocco as 2.691? | SELECT ?value WHERE { wd:/Morocco/ p:/total fertility rate/ ?s . ?s ps:/total fertility rate/ ?x filter(contains(?x,'2.691')) . ?s pq:/determination method/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How many dishes are traditionally associated with the {Christmas} ? | SELECT (COUNT(?obj) AS ?value ) { wd:/Christmas/ wdt:/foods traditionally associated/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | When did the Ottoman Empire lose control over Nazareth? | SELECT ?value WHERE { wd:/Nazareth/ p:/country/ ?s . ?s ps:/country/ wd:/Ottoman Empire/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the name of a firearm that starts with the letter s. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/firearm/ . ?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. | Who {has sons} of {son of} of {Fu Xi} ? | SELECT ?answer WHERE { wd:/Fuxi/ wdt:/father/ ?X . ?X wdt:/child/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Leo IX hold his position as bishop of Toul? | SELECT ?value WHERE { wd:/Leo IX/ p:/position held/ ?s . ?s ps:/position held/ wd:/Roman Catholic Bishop of Toul/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who was the student of John the Baptist? | select distinct ?obj where { wd:/John the Baptist/ wdt:/student/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What is recently deceased R. H. Tawney's PIN Code? | SELECT ?answer WHERE { wd:/R. H. Tawney/ wdt:/place of death/ ?X . ?X wdt:/postal code/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Tell me phantom island whose name has the word tuanaki in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/phantom island/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'tuanaki')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Mention the musical related work highlighting the work of Sasha Grey. | select distinct ?obj where { wd:/Sasha Grey/ wdt:/contributed to creative work/ ?obj . ?obj wdt:/instance of/ wd:/musical duo/ } |
Generate a SPARQL query that returns the answer of the following question. | What award did Frank Herbert receive in 1966? | SELECT ?obj WHERE { wd:/Frank Herbert/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1966')) } |
Generate a SPARQL query that returns the answer of the following question. | When did Ann Arbor have a population of 7363? | SELECT ?value WHERE { wd:/Ann Arbor/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'7363.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who discovered or invented Impressionism and was followed by future Impressionists? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Impressionism/ wdt:/followed by/ ?ans_1 . wd:/Impressionism/ wdt:/discoverer or inventor/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Is the inflation rate of Japan equal to -0.6? | ASK WHERE { wd:/Japan/ wdt:/inflation rate/ ?obj filter(?obj = -0.6) } |
Generate a SPARQL query that returns the answer of the following question. | Which is the next Magnesium element that is followed after Aluminium? | SELECT ?obj WHERE { wd:/magnesium/ p:/instance of/ ?s . ?s ps:/instance of/ ?obj . ?s pq:/followed by/ wd:/aluminium/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the award that Daniel McFadden got with James Heckman? | SELECT ?obj WHERE { wd:/Daniel McFadden/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/together with/ wd:/James Heckman/ } |
Generate a SPARQL query that returns the answer of the following question. | In Syracuse Orange football, what position did Jim Brown hold? | SELECT ?value WHERE { wd:/Jim Brown/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ wd:/Syracuse Orange football/ . ?s pq:/position played on team / speciality/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which United States Astronaut Hall of Fame inductee spent the most time in space ? | select ?ent where { ?ent wdt:/instance of/ wd:/human/ . ?ent wdt:/time in space/ ?obj . ?ent wdt:/award received/ wd:/United States Astronaut Hall of Fame/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Which mid-air collision, involving an F-16 Fighting Falcon, had the most survivors? | select ?ent where { ?ent wdt:/instance of/ wd:/mid-air collision/ . ?ent wdt:/number of survivors/ ?obj . ?ent wdt:/item operated/ wd:/F-16 Fighting Falcon/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Which star does Planet Nine orbit? | select distinct ?obj where { wd:/Planet Nine/ wdt:/parent astronomical body/ ?obj . ?obj wdt:/instance of/ wd:/G-type main-sequence star/ } |
Generate a SPARQL query that returns the answer of the following question. | Did the brother of Matilda of Habsburg have kids? | SELECT ?answer WHERE { wd:/Matilda of Habsburg/ wdt:/sibling/ ?X . ?X wdt:/child/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Vigdís Finnbogadótti receive an award as honorary doctor of the Paris-Sorbonne University? | SELECT ?value WHERE { wd:/Vigdís Finnbogadóttir/ p:/award received/ ?s . ?s ps:/award received/ wd:/Honorary doctor of the Paris-Sorbonne University/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is award received of Mary Steenburgen that of winner is Allison Janney ? | SELECT ?obj WHERE { wd:/Mary Steenburgen/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/winner/ wd:/Allison Janney/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that Natalie Wood married to Richard Gregson? | ASK WHERE { wd:/Natalie Wood/ wdt:/spouse/ wd:/Richard Gregson/ } |
Generate a SPARQL query that returns the answer of the following question. | what is the coordinate location in Ötztal Alps where Ötzi died? | SELECT ?value WHERE { wd:/Ötzi/ p:/place of death/ ?s . ?s ps:/place of death/ wd:/Ötztal Alps/ . ?s pq:/coordinate location/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Are the eligible voters of the Catalan regional election 2015 in la Quar equal to 40? | ASK WHERE { wd:/Catalan regional election 2015 in la Quar/ wdt:/eligible voters/ ?obj filter(?obj = 40) } |
Generate a SPARQL query that returns the answer of the following question. | Overwatch features a number of different game modes, principally designed around squad-based combat with two opposing teams of six players each. ... Other modes set aside for casual matches include solo and team deathmatch, capture-the-flag, and unique modes run during various seasonal events. | SELECT ?answer WHERE { wd:/Overwatch/ wdt:/platform/ ?X . ?X wdt:/part of the series/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is in conflict in the narrative of The Hall of Presidents? | SELECT ?answer WHERE { wd:/The Hall of Presidents/ wdt:/present in work/ ?X . ?X wdt:/conflict/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Did Richard Branson own eDreams? | ASK WHERE { wd:/Richard Branson/ wdt:/owner of/ wd:/eDreams/ } |
Generate a SPARQL query that returns the answer of the following question. | Which comarca of Catalonia has the highest nominal GDP? | select ?ent where { ?ent wdt:/instance of/ wd:/comarca of Catalonia/ . ?ent wdt:/nominal GDP/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Tell me a specialty that starts with the letter w. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/specialty/ . ?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. | Tell me about the medical findings regarding the symptoms of lung cancer. | select distinct ?obj where { wd:/lung cancer/ wdt:/symptoms and signs/ ?obj . ?obj wdt:/instance of/ wd:/medical finding/ } |
Generate a SPARQL query that returns the answer of the following question. | Does the rate of fire of the VAP submachine gun equals to 1200.0? | ASK WHERE { wd:/VAP submachine gun/ wdt:/rate of fire/ ?obj filter(?obj = 1200.0) } |
Generate a SPARQL query that returns the answer of the following question. | What disease is sodium chloride used as a treatment for? | select distinct ?sbj where { ?sbj wdt:/drug or therapy used for treatment/ wd:/sodium chloride/ . ?sbj wdt:/instance of/ wd:/disease/ } |
Generate a SPARQL query that returns the answer of the following question. | Who gave the {subsidiary} of {previous is} of {Académie des Beaux-Arts} ? | SELECT ?answer WHERE { wd:/Académie des beaux-arts/ wdt:/follows/ ?X . ?X wdt:/business division/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the ethnicity and position of the team and Michael Jordan's specialty? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Michael Jordan/ wdt:/ethnic group/ ?ans_1 . wd:/Michael Jordan/ wdt:/position played on team / speciality/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | When was Hendrik Lorentz nominated for Nobel Prize in Physics? | SELECT ?value WHERE { wd:/Hendrik Lorentz/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Nobel Prize in Physics/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When was Sasha Czack became spouse of Sylvester Stallone? | SELECT ?value WHERE { wd:/Sylvester Stallone/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Sasha Czack/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the birth location, with a partner city of Khabarovsk, of Shannon Larratt? | SELECT ?answer WHERE { wd:/Shannon Larratt/ wdt:/place of birth/ ?answer . ?answer wdt:/place of birth/0 wd:/Khabarovsk/} |
Generate a SPARQL query that returns the answer of the following question. | Are Las Vegas, Phuket and Huludao twinned administrative bodies? | ASK WHERE { wd:/Las Vegas/ wdt:/twinned administrative body/ wd:/Phuket/ . wd:/Las Vegas/ wdt:/twinned administrative body/ wd:/Huludao/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is the builder of the Lighthouse of Alexandria and what architectural style was used? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Lighthouse of Alexandria/ wdt:/architect/ ?ans_1 . wd:/Lighthouse of Alexandria/ wdt:/architectural style/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Which position did William IV from the UK, hold in 1830? | SELECT ?obj WHERE { wd:/William IV/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1830')) } |
Generate a SPARQL query that returns the answer of the following question. | When was Elizabeth Montgomery no longer married to Robert Foxworth? | SELECT ?value WHERE { wd:/Elizabeth Montgomery/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Robert Foxworth/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Tell me me a textile fibre whose name consist of the word "woman" and whose fabrication method sericulture silk | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:// . ?sbj wdt:/fabrication method/ wd:/sericulture/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'silk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What are the fictional which start with the letter w | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/fictional duck/ . ?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. | Is is true that Calvin Harris used to play the synthesizer? | ASK WHERE { wd:/Calvin Harris/ wdt:/instrument/ wd:/synthesizer/ } |
Generate a SPARQL query that returns the answer of the following question. | What language does Miriam Makeba speak, that has a French influence? | SELECT ?answer WHERE { wd:/Miriam Makeba/ wdt:/languages spoken, written or signed/ ?answer . ?answer wdt:/influenced by/ wd:/French/} |
Generate a SPARQL query that returns the answer of the following question. | What's the date of death for Petrarch? | SELECT ?obj WHERE { wd:/Petrarch/ p:/date of death/ ?s . ?s ps:/date of death/ ?obj . ?s pq:/latest date/ ?x filter(contains(YEAR(?x),'1374')) } |
Generate a SPARQL query that returns the answer of the following question. | Which is {pronunciation audio} of {victim} of {Suez Crisis} ? | SELECT ?answer WHERE { wd:/1956 War/ wdt:/participant/ ?X . ?X wdt:/pronunciation audio/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | designed | select distinct ?sbj where { ?sbj wdt:/designed by/ wd:/Manhattan Project/ . ?sbj wdt:/instance of/ wd:/nuclear explosion/ } |
Generate a SPARQL query that returns the answer of the following question. | Who were the administrators of Haifa on January 1st, 1972? | SELECT ?obj WHERE { wd:/Haifa/ p:/twinned administrative body/ ?s . ?s ps:/twinned administrative body/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1972')) } |
Generate a SPARQL query that returns the answer of the following question. | Which afterburner used by military aircraft has the lowest maximum thrust? | select ?ent where { ?ent wdt:/instance of/ wd:/military aircraft engine/ . ?ent wdt:/maximum thrust/ ?obj . ?ent wdt:/subclass of/ wd:/afterburner/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What language has the regulatory body in the Office québécois de la langue française and is spoken by Manuel Castells? | SELECT ?answer WHERE { wd:/Manuel Castells/ wdt:/languages spoken, written or signed/ ?answer . ?answer wdt:/language regulatory body/ wd:/Office québécois de la langue française/} |
Generate a SPARQL query that returns the answer of the following question. | On 1-1-1958 which award was received by Martin Buber? | SELECT ?obj WHERE { wd:/Martin Buber/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1958')) } |
Generate a SPARQL query that returns the answer of the following question. | From what country is F. Scott Fitzgerald, who was born in St. Paul? | SELECT ?value WHERE { wd:/F. Scott Fitzgerald/ p:/place of birth/ ?s . ?s ps:/place of birth/ wd:/Saint Paul/ . ?s pq:/country/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who played the wife of Basil Fawlty? | SELECT ?answer WHERE { wd:/Basil Fawlty/ wdt:/spouse/ ?X . ?X wdt:/present in work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many authors are written the {Carl Chun} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/author/ wd:/Carl Chun/ } |
Generate a SPARQL query that returns the answer of the following question. | What is Norman Mailer nominated for who's point in time is 1994-0-0? | SELECT ?obj WHERE { wd:/Norman Mailer/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1994')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the historical event which start with the letter w | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/historical event/ . ?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. | When did Vyacheslav Molotov received the Order of Lenin award? | SELECT ?value WHERE { wd:/Vyacheslav Molotov/ p:/award received/ ?s . ?s ps:/award received/ wd:/Order of Lenin/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who was the goddess Artemis? | select distinct ?sbj where { ?sbj wdt:/said to be the same as/ wd:/Artemis/ . ?sbj wdt:/instance of/ wd:/goddess/ } |
Generate a SPARQL query that returns the answer of the following question. | what is the end time for ma long has ranking as 1.0? | SELECT ?value WHERE { wd:/Ma Long/ p:/ranking/ ?s . ?s ps:/ranking/ ?x filter(contains(?x,'1.0')) . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which tournament in New Zealand has the fewest losses? | select ?ent where { ?ent wdt:/instance of/ wd:/tournament/ . ?ent wdt:/number of losses/ ?obj . ?ent wdt:/location/ wd:/New Zealand/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | WHICH IS THE MONTORY AUTHORITY WITH THE MOST TARGETINTEREST RATE | select ?ent where { ?ent wdt:/instance of/ wd:/monetary authority/ . ?ent wdt:/target interest rate/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What was Wojciech Jaruzelski's name in the first series? | SELECT ?obj WHERE { wd:/Wojciech Jaruzelski/ p:/given name/ ?s . ?s ps:/given name/ ?obj . ?s pq:/series ordinal/ ?x filter(contains(?x,'1')) } |
Generate a SPARQL query that returns the answer of the following question. | Did Phil Hartman attend Santa Monica College and Manual Arts High School? | ASK WHERE { wd:/Phil Hartman/ wdt:/educated at/ wd:/Santa Monica College/ . wd:/Phil Hartman/ wdt:/educated at/ wd:/Manual Arts High School/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the flim genre of the part of series of final approach? | SELECT ?answer WHERE { wd:/Final Approach/ wdt:/part of the series/ ?X . ?X wdt:/genre/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the annual energy output of the Kashiwazaki-Kariwa Nuclear Power Plant equal to 0? | ASK WHERE { wd:/Kashiwazaki-Kariwa Nuclear Power Plant/ wdt:/annual energy output/ ?obj filter(?obj = 0) } |
Generate a SPARQL query that returns the answer of the following question. | What is David Foster's record label? | select distinct ?obj where { wd:/David Foster/ wdt:/record label/ ?obj . ?obj wdt:/instance of/ wd:/record label/ } |
Generate a SPARQL query that returns the answer of the following question. | Where was Alexander Radishchev going to school at the start of 1766? | SELECT ?obj WHERE { wd:/Alexander Radishchev/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1766')) } |
Generate a SPARQL query that returns the answer of the following question. | which type of quantum particle has highest gyromagnetic ratio? | select ?ent where { ?ent wdt:/instance of/ wd:/type of quantum particle/ . ?ent wdt:/gyromagnetic ratio/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Which film was Cecil B. DeMille nominated for Academy Award for Best Picture? | SELECT ?value WHERE { wd:/Cecil B. DeMille/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Picture/ . ?s pq:/statement is subject of/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How many drainage basins are determined for Tarim Basin? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/drainage basin/ wd:/Tarim Basin/ } |
Generate a SPARQL query that returns the answer of the following question. | Who practices and researches Economics? | SELECT ?ans_1 ?ans_2 WHERE { wd:/economics/ wdt:/practiced by/ ?ans_1 . wd:/economics/ wdt:/is the study of/ ?ans_2 } |