instruction
stringclasses 1
value | input
stringlengths 1
655
| output
stringlengths 47
392
|
---|---|---|
Generate a SPARQL query that returns the answer of the following question. | Name a modern language that contain the word " russian" in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/modern language/ . ?sbj wdt:/has grammatical person/ wd:/second-person plural/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'russian')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who was the presenter for Meet the Press starting on September 16, 1984? | SELECT ?obj WHERE { wd:/Meet the Press/ p:/presenter/ ?s . ?s ps:/presenter/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1984')) } |
Generate a SPARQL query that returns the answer of the following question. | What was the significant event that happened to Jean Gabin in 1976? | SELECT ?obj WHERE { wd:/Jean Gabin/ p:/significant event/ ?s . ?s ps:/significant event/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1976')) } |
Generate a SPARQL query that returns the answer of the following question. | What relative of Walter Gropius died in the town of Haifa? | SELECT ?answer WHERE { wd:/Walter Gropius/ wdt:/place of death/ ?answer . ?answer wdt:/twinned administrative body/ wd:/Haifa/} |
Generate a SPARQL query that returns the answer of the following question. | What was Singapore's total reserves in the year 2014? | SELECT ?obj WHERE { wd:/Singapore/ p:/total reserves/ ?s . ?s ps:/total reserves/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2014')) } |
Generate a SPARQL query that returns the answer of the following question. | Who is the crew of Cosmonaut Michael Fincke? | SELECT ?answer WHERE { wd:/Michael Fincke/ wdt:/astronaut mission/ ?X . ?X wdt:/crew member(s)/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What equipment is operated by the administrator of the B-52 Stratofortress? | SELECT ?answer WHERE { wd:/B-52 Stratofortress/ wdt:/operator/ ?X . ?X wdt:/item operated/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the {child} and the {spouse} of {Ralph_Lauren} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Ralph Lauren/ wdt:/child/ ?ans_1 . wd:/Ralph Lauren/ wdt:/spouse/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Which is {CPI inflation rate} of {citizen of} {Asa Griggs Candler} ? | SELECT ?answer WHERE { wd:/Asa Griggs Candler/ wdt:/country of citizenship/ ?X . ?X wdt:/inflation rate/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | WHAT IS THE SURFACE PLACE OF INCORPORATION IN SCOUTS ? | SELECT ?answer WHERE { wd:/scouting/ wdt:/location of formation/ ?X . ?X wdt:/area/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who are the owners working for Simon Ambrose? | SELECT ?answer WHERE { wd:/Simon Ambrose/ wdt:/employer/ ?X . ?X wdt:/owned by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What caused Jimi Hendrix to die from asphyxia? | SELECT ?value WHERE { wd:/Jimi Hendrix/ p:/cause of death/ ?s . ?s ps:/cause of death/ wd:/asphyxia/ . ?s pq:/statement is subject of/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What was the end time for Eino Kaila's spouse Anna Snellman-Kaila? | SELECT ?value WHERE { wd:/Eino Kaila/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Anna Snellman-Kaila/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Name a videogame developped by CPU that contains the word "pong" in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/video game/ . ?sbj wdt:/CPU/ wd:/electronic component/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'pong')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What are thewater deity which start with the letter'y | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/conjecture/ . ?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 award did Todd Ray and Clive Davis receive? | SELECT ?obj WHERE { wd:/Clive Davis/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/winner/ wd:/Todd Ray/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is the belligerent player from Italy at the UEFA Euro 2016? | SELECT ?answer WHERE { wd:/Italy at the UEFA European Championship 2016/ wdt:/participant/ ?X . ?X wdt:/member of sports team/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the Cardinality of the group of the McLaughlin group less than 1077753600.0? | ASK WHERE { wd:/McLaughlin group/ wdt:/group cardinality/ ?obj filter(?obj < 1077753600.0) } |
Generate a SPARQL query that returns the answer of the following question. | Who invented the Hamiltonian mechanics that consisted the members of National Academy of Science? | SELECT ?answer WHERE { wd:/Hamiltonian mechanics/ wdt:/discoverer or inventor/ ?answer . ?answer wdt:/member of/ wd:/National Academy of Sciences/} |
Generate a SPARQL query that returns the answer of the following question. | Which the is composition of The Blue Lotus | SELECT ?answer WHERE { wd:/The Blue Lotus/ wdt:/author/ ?X . ?X wdt:/notable work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many numbers of cuisine in the Northern England} ? | SELECT (COUNT(?obj) AS ?value ) { wd:/Northern England/ wdt:/cuisine/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What municipality was Nikolai Trubetzkoy born in? | SELECT ?answer WHERE { wd:/Nikolai Trubetzkoy/ wdt:/place of birth/ ?X . ?X wdt:/contains the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What area in Sevastopol is disputed territory? | select distinct ?obj where { wd:/Sevastopol/ wdt:/located in/on physical feature/ ?obj . ?obj wdt:/instance of/ wd:/disputed territory/ } |
Generate a SPARQL query that returns the answer of the following question. | Where is the headquarters of the national museum of Prague? | SELECT ?obj WHERE { wd:/Národní Muzeum (National Museum, Prague)/ p:/headquarters location/ ?s . ?s ps:/headquarters location/ ?obj . ?s pq:/location/ wd:/main building of National Museum in Prague/ } |
Generate a SPARQL query that returns the answer of the following question. | Name a former municipality of the Netherlands that shares a border with Rotterdam | select distinct ?sbj where { ?sbj wdt:/shares border with/ wd:/Rotterdam/ . ?sbj wdt:/instance of/ wd:/former municipality of the Netherlands/ } |
Generate a SPARQL query that returns the answer of the following question. | Is Sean Connery a member of the Gaels ethnic group? | ASK WHERE { wd:/Sean Connery/ wdt:/ethnic group/ wd:/Gaels/ } |
Generate a SPARQL query that returns the answer of the following question. | Alexander Scriabin is a tutor of which musical instrument? | SELECT ?answer WHERE { wd:/Alexander Scriabin/ wdt:/student of/ ?X . ?X wdt:/instrument/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is outcome of fertilizer for crane ? | SELECT ?answer WHERE { wd:/crane/ wdt:/source of energy/ ?X . ?X wdt:/has cause/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | TELL ME THE IDEOLOGY OF RYO SHUHAMA POLITICALPARTY? | SELECT ?answer WHERE { wd:/Ryō Shuhama/ wdt:/member of political party/ ?X . ?X wdt:/political ideology/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | who titleholder of nomination received of nebraska ? | SELECT ?answer WHERE { wd:/Nebraska/ wdt:/nominated for/ ?X . ?X wdt:/winner/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which antinucleon quantum particle has the highest isospin quantum number? | select ?ent where { ?ent wdt:/instance of/ wd:/type of quantum particle/ . ?ent wdt:/isospin quantum number/ ?obj . ?ent wdt:/subclass of/ wd:/antinucleon/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the Discogs artist ID for Aphex Twin that has the pseudonym GAK? | SELECT ?value WHERE { wd:/Aphex Twin/ p:/pseudonym/ ?s . ?s ps:/pseudonym/ ?x filter(contains(?x,'GAK')) . ?s pq:/Discogs artist ID/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What volcanic eruption occurred in the Dutch East Indies? | select distinct ?sbj where { ?sbj wdt:/located in the administrative territorial entity/ wd:/Dutch East Indies/ . ?sbj wdt:/instance of/ wd:/volcanic eruption/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is the operator of Boeing 787 Dreamliner and where is the final assembly located? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Boeing 787 Dreamliner/ wdt:/location of creation/ ?ans_1 . wd:/Boeing 787 Dreamliner/ wdt:/operator/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Was the official name of the birth place of Cesar Cui Вильно ? | SELECT ?obj WHERE { wd:/César Cui/ p:/place of birth/ ?s . ?s ps:/place of birth/ ?obj . ?s pq:/official name/ ?x filter(contains(?x,'Вильно')) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me binary operation whose name has the word union in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/binary operation/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'union')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | When did Prince Philip, Duke of Edinburgh use the Arms of Philip Mountbatten (1947-1949) as his coat of arm? | SELECT ?value WHERE { wd:/Prince Philip, Duke of Edinburgh/ p:/coat of arms image/ ?s . ?s ps:/coat of arms image/ ?x filter(contains(?x,'Arms of Philip Mountbatten (1947-1949).svg')) . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which reptile is located in Finland? | SELECT ?answer WHERE { wd:/Pogona/ wdt:/endemic to/ ?answer . ?answer wdt:/diplomatic relation/ wd:/Finland/} |
Generate a SPARQL query that returns the answer of the following question. | What was Carol Ann Duffy nominated for in 2011? | SELECT ?obj WHERE { wd:/Carol Ann Duffy/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2011')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the scientific theory which start with the letter universe | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/scientific theory/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'universe')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the RVK identifier of the yin and yang field of study? | SELECT ?answer WHERE { wd:/yin and yang/ wdt:/field of work/ ?X . ?X wdt:/Regensburg Classification/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the treatment for lymphoma? | SELECT ?answer WHERE { wd:/lymphoma/ wdt:/drug or therapy used for treatment/ ?X . ?X wdt:/medical condition treated/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the native language of the Khazars? | select distinct ?obj where { wd:/Khazars/ wdt:/native language/ ?obj . ?obj wdt:/instance of/ wd:/language/ } |
Generate a SPARQL query that returns the answer of the following question. | Who influence of created by Eldarion? | SELECT ?answer WHERE { wd:/Eldarion/ wdt:/creator/ ?X . ?X wdt:/influenced by/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What position did Constantine the Great hold in 324-9-19? | SELECT ?obj WHERE { wd:/Constantine the Great/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(?x,'324-9-19')) } |
Generate a SPARQL query that returns the answer of the following question. | Who is the family and father of Rollo? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Rollo/ wdt:/family/ ?ans_1 . wd:/Rollo/ wdt:/father/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | When was Carl Sagan married Ann Druyan? | SELECT ?value WHERE { wd:/Carl Sagan/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Ann Druyan/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | who treated by of method of murder of mohammed rafi? | SELECT ?answer WHERE { wd:/Mohammed Rafi/ wdt:/cause of death/ ?X . ?X wdt:/drug or therapy used for treatment/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are significant ingredients to Christo? | SELECT ?answer WHERE { wd:/Christo/ wdt:/notable work/ ?X . ?X wdt:/made from material/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the futsal league with the highest sports league level whose league level above is Futsal-Liiga ? | select ?ent where { ?ent wdt:/instance of/ wd:/futsal league/ . ?ent wdt:/sports league level/ ?obj . ?ent wdt:/league level above/ wd:/Futsal-Liiga/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What Uranus moon was developed by David C. Jewitt? | SELECT ?answer WHERE { wd:/Uranus/ wdt:/child astronomical body/ ?answer . ?answer wdt:/discoverer or inventor/ wd:/David Clifford Jewitt/} |
Generate a SPARQL query that returns the answer of the following question. | What is the longest bridge that crosses the Schuylkill River? | select ?ent where { ?ent wdt:/instance of/ wd:/suspension bridge/ . ?ent wdt:/number of spans/ ?obj . ?ent wdt:/crosses/ wd:/Schuylkill River/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | When did Francisco Morales Bermúdez become President of the Council of Ministers of Peru? | SELECT ?value WHERE { wd:/Francisco Morales Bermúdez/ p:/position held/ ?s . ?s ps:/position held/ wd:/President of the Council of Ministers of Peru/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How was the number of households in Cumbria determined for the United Kingdom Census in 2011? | SELECT ?obj WHERE { wd:/Cumbria/ p:/number of households/ ?s . ?s ps:/number of households/ ?obj . ?s pq:/determination method/ wd:/United Kingdom Census 2011/ } |
Generate a SPARQL query that returns the answer of the following question. | Which asteroid with the shortest orbital period was discovered at the Nice Observatory? | select ?ent where { ?ent wdt:/instance of/ wd:/asteroid/ . ?ent wdt:/orbital period/ ?obj . ?ent wdt:/site of astronomical discovery/ wd:/Nice Observatory/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Palm Sunday is the feast day for which biblical episode? | select distinct ?sbj where { ?sbj wdt:/feast day/ wd:/Palm Sunday/ . ?sbj wdt:/instance of/ wd:// } |
Generate a SPARQL query that returns the answer of the following question. | Tell me relation whose name has the word zustandszahl in it | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/relation/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'zustandszahl')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is pronunciation audio of tongue that is language of work or name is German? | SELECT ?obj WHERE { wd:/tongue/ p:/pronunciation audio/ ?s . ?s ps:/pronunciation audio/ ?obj . ?s pq:/language of work or name/ wd:/German/ } |
Generate a SPARQL query that returns the answer of the following question. | How many NBC headquarters locations are there? | SELECT (COUNT(?obj) AS ?value ) { wd:/NBC/ wdt:/headquarters location/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | Is Maharashtra in administrative territorial entity of Amravati and Chhattisgarh Division? | ASK WHERE { wd:/Maharashtra/ wdt:/contains the administrative territorial entity/ wd:/Amravati division/ . wd:/Maharashtra/ wdt:/contains the administrative territorial entity/ wd:/Chhattisgarh Division/ } |
Generate a SPARQL query that returns the answer of the following question. | what is former builiding in ancient greece culture and also which starts with letter a | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/destroyed building or structure/ . ?sbj wdt:/culture/ wd:/Ancient Greece/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'a')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What forename of John Henry Anderson's is the same as Gian? | SELECT ?answer WHERE { wd:/John Henry Anderson/ wdt:/given name/ ?answer . ?answer wdt:/said to be the same as/ wd:/Gian/} |
Generate a SPARQL query that returns the answer of the following question. | what is the isotope of tin has the highest spin quantum number? | select ?ent where { ?ent wdt:/instance of/ wd:/isotope of tin/ . ?ent wdt:/spin quantum number/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What episode in the series Marc Anthony is entitles Marco? | SELECT ?value WHERE { wd:/Marc Anthony/ p:/given name/ ?s . ?s ps:/given name/ wd:/Marco/ . ?s pq:/series ordinal/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which is the religion text that has as an edition that of King James Version? | select distinct ?sbj where { ?sbj wdt:/has edition or translation/ wd:/King James Version/ . ?sbj wdt:/instance of/ wd:/religious text/ } |
Generate a SPARQL query that returns the answer of the following question. | What medical conditions does amitriptyline treat? | SELECT ?answer WHERE { wd:/amitriptyline/ wdt:/medical condition treated/ ?X . ?X wdt:/drug or therapy used for treatment/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many male and female kids does Almanzor have? | SELECT ?answer WHERE { wd:/Almanzor/ wdt:/child/ ?answer . ?answer wdt:/sex or gender/ wd:/male/} |
Generate a SPARQL query that returns the answer of the following question. | What is the population of Timisoara that is determined by the questionnaire? | SELECT ?obj WHERE { wd:/Timișoara/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/determination method/ wd:/questionnaire/ } |
Generate a SPARQL query that returns the answer of the following question. | For what work was Kendrick Lamar nominated for at the BET Award for Best Collaboration? | SELECT ?value WHERE { wd:/Kendrick Lamar/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/BET Award for Best Collaboration/ . ?s pq:/for work/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is succeeded by Thirteen Colonies, that has diplomatic relation with Maldives?" | SELECT ?answer WHERE { wd:/Thirteen Colonies/ wdt:/replaced by/ ?answer . ?answer wdt:/diplomatic relation/ wd:/Maldives/} |
Generate a SPARQL query that returns the answer of the following question. | Which actor portrayed Batman in the movie Batman? | SELECT ?obj WHERE { wd:/Batman/ p:/performer/ ?s . ?s ps:/performer/ ?obj . ?s pq:/of/ wd:/Batman/ } |
Generate a SPARQL query that returns the answer of the following question. | Which subitem of Alaskan history has villages in the Northwest Arctic Borough? | SELECT ?answer WHERE { wd:/history of Alaska/ wdt:/facet of/ ?answer . ?answer wdt:/contains the administrative territorial entity/ wd:/Northwest Arctic Borough/} |
Generate a SPARQL query that returns the answer of the following question. | What does Doxycycline medically treat and what is its pregnancy category? | SELECT ?ans_1 ?ans_2 WHERE { wd:/doxycycline/ wdt:/medical condition treated/ ?ans_1 . wd:/doxycycline/ wdt:/pregnancy category/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Municipal President of Nezahualcoytol's country is bordered by what nation? | SELECT ?answer WHERE { wd:/Municipal President of Nezahualcóyotl/ wdt:/applies to jurisdiction/ ?X . ?X wdt:/shares border with/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Was the Empire State Building built in 1986-6-25 | SELECT ?obj WHERE { wd:/Empire State Building/ p:/heritage designation/ ?s . ?s ps:/heritage designation/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1986')) } |
Generate a SPARQL query that returns the answer of the following question. | Where was James Clerk Maxwell born in Scotland? | SELECT ?obj WHERE { wd:/James Clerk Maxwell/ p:/place of birth/ ?s . ?s ps:/place of birth/ ?obj . ?s pq:/country/ wd:/Scotland/ } |
Generate a SPARQL query that returns the answer of the following question. | Which guide book that starts with the letter א | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/guide book/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'א')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | On planet Nine, the G-type main-sequence star for the child astronomical body is called what? | select distinct ?sbj where { ?sbj wdt:/child astronomical body/ wd:/Planet Nine/ . ?sbj wdt:/instance of/ wd:/G-type main-sequence star/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the number of injured of 2013 Valdresekspressen hijacking equals to 1.2? | ASK WHERE { wd:/2013 Valdresekspressen hijacking/ wdt:/number of injured/ ?obj filter(?obj = 1.2) } |
Generate a SPARQL query that returns the answer of the following question. | Who are the authors of The Republic, whose school is Platonism? | SELECT ?answer WHERE { wd:/The Republic/ wdt:/author/ ?answer . ?answer wdt:/movement/ wd:/Platonism/} |
Generate a SPARQL query that returns the answer of the following question. | What are the cross which start with the letter w | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/cross/ . ?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. | Which artery supplies blood to the stomach? | select distinct ?obj where { wd:/stomach/ wdt:/arterial supply/ ?obj . ?obj wdt:/instance of/ wd:/artery/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the Hindu deity that has armament in Trishula and contains the word shiva in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/Hindu deity/ . ?sbj wdt:/armament/ wd:/trishula/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'shiva')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What award did Betty Williams receive on 1976-0-0? | SELECT ?obj WHERE { wd:/Betty Williams/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1976')) } |
Generate a SPARQL query that returns the answer of the following question. | What was the position held by Mr. Henry Parkes at his last term 8-2-1875? | SELECT ?obj WHERE { wd:/Henry Parkes/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1875')) } |
Generate a SPARQL query that returns the answer of the following question. | What was Bimba Rose's relationship with Miguel Bose? | SELECT ?value WHERE { wd:/Miguel Bosé/ p:/relative/ ?s . ?s ps:/relative/ wd:/Bimba Bosé/ . ?s pq:/kinship to subject/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is Istanbul the capital of Turkey? | select distinct ?obj where { wd:/Istanbul/ wdt:/capital of/ ?obj . ?obj wdt:/instance of/ wd:/province of Turkey/ } |
Generate a SPARQL query that returns the answer of the following question. | Who wrote part of the Balada de un dia de Julio? | SELECT ?answer WHERE { wd:/Balada de un día de Julio/ wdt:/published in/ ?X . ?X wdt:/author/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Tell mebook series whose name has the word world in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/book series/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'world')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What city is the twinned administration for Nagasaki? | select distinct ?obj where { wd:/Nagasaki/ wdt:/twinned administrative body/ ?obj . ?obj wdt:/instance of/ wd:/million city/ } |
Generate a SPARQL query that returns the answer of the following question. | who SI derived unit for measured by energy? | select distinct ?obj where { wd:/energy/ wdt:/measurement scale/ ?obj . ?obj wdt:/instance of/ wd:/SI derived unit/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the newcast whose presenter is Steve Kroft and starts with number 6! | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/news program/ . ?sbj wdt:/presenter/ wd:/Steve Kroft/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), '6')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What type of music does Ellen Ripley do? | SELECT ?answer WHERE { wd:/Ellen Ripley/ wdt:/present in work/ ?X . ?X wdt:/genre/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When will the chairperson for Walgreens, Charles Rudolph Walgreen, Sr., start? | SELECT ?value WHERE { wd:/Walgreens/ p:/chairperson/ ?s . ?s ps:/chairperson/ wd:/Charles Rudolph Walgreen, Sr./ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How many awards are given by the Académie française? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/conferred by/ wd:/Académie Française/ } |
Generate a SPARQL query that returns the answer of the following question. | Why was Goguryeo dissolved in 668? | SELECT ?value WHERE { wd:/Goguryeo/ p:/dissolved, abolished or demolished date/ ?s . ?s ps:/dissolved, abolished or demolished date/ ?x filter(contains(?x,'668-1-1')) . ?s pq:/instance of/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What was the explosive material invented by Alfred Novbel that contains the word "dynamite" in its name ? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/explosive chemicals/ . ?sbj wdt:/discoverer or inventor/ wd:/Alfred Nobel/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'dynamite')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | How many children do Jean le Rond D'Alembert have? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/child/ wd:/Jean le Rond d'Alembert/ } |
Generate a SPARQL query that returns the answer of the following question. | Which quantum particle with the subclass of lepton has the fastest magnetic movement? | select ?ent where { ?ent wdt:/instance of/ wd:/type of quantum particle/ . ?ent wdt:/magnetic moment/ ?obj . ?ent wdt:/subclass of/ wd:/lepton/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the {sexual orientation} and the {sex or gender} of {Deadpool} ? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Deadpool/ wdt:/sexual orientation/ ?ans_1 . wd:/Deadpool/ wdt:/sex or gender/ ?ans_2 } |
Subsets and Splits