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 is the location of death of Antonio Canova, whose category of associated people is the Category: People of Venice?
SELECT ?answer WHERE { wd:/Antonio Canova/ wdt:/place of death/ ?answer . ?answer wdt:/category of associated people/ wd:/Category:People from Venice/}
Generate a SPARQL query that returns the answer of the following question.
Who is the {version, edition, or translation} for {author} of {Salman Rushdie}
select distinct ?sbj where { ?sbj wdt:/author/ wd:/Salman Rushdie/ . ?sbj wdt:/instance of/ wd:/version, edition, or translation/ }
Generate a SPARQL query that returns the answer of the following question.
What are the musical which start with the letter w
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/musical/ . ?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 are the cryptocurrency which start with the letter z
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/cryptocurrency/ . ?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.
Who did Laszlo Papp lose to?
SELECT ?answer WHERE { wd:/László Papp/ wdt:/participant in/ ?X . ?X wdt:/follows/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
who adjacent to of sports country of haile gebrselassie ?
SELECT ?answer WHERE { wd:/Haile Gebrselassie/ wdt:/country for sport/ ?X . ?X wdt:/shares border with/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What are the seven deadly sins which start with the letter s
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/seven deadly sins/ . ?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 city in Ukraine is the twinned administrative body of Vancouver?
select distinct ?obj where { wd:/Vancouver/ wdt:/twinned administrative body/ ?obj . ?obj wdt:/instance of/ wd:/city ​​in Ukraine/ }
Generate a SPARQL query that returns the answer of the following question.
What is the boiling point of cyclohexane at the pressure of 760.0?
SELECT ?obj WHERE { wd:/cyclohexane/ p:/boiling point/ ?s . ?s ps:/boiling point/ ?obj . ?s pq:/under pressure/ ?x filter(contains(?x,'760.0')) }
Generate a SPARQL query that returns the answer of the following question.
What was the work John Barry received the Academy Award for Best Original Score that was not a musical?
SELECT ?value WHERE { wd:/John Barry/ p:/award received/ ?s . ?s ps:/award received/ wd:/Academy Award for Best Original Score, no Musical/ . ?s pq:/for work/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Who is the {3D film} for {takes place in fictional universe} of {Marvel Cinematic Universe}
select distinct ?sbj where { ?sbj wdt:/takes place in fictional universe/ wd:/Marvel Cinematic Universe/ . ?sbj wdt:/instance of/ wd:/3D film/ }
Generate a SPARQL query that returns the answer of the following question.
How many cre members are there in the {Chris Hadfield} ?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/crew member(s)/ wd:/Chris Hadfield/ }
Generate a SPARQL query that returns the answer of the following question.
Explain me that mutant which contains the word of wraith in their own name
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/mutant/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wraith')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
When was Eberhard Umbach the director of the Karlsruhe Institute of Technology?
SELECT ?value WHERE { wd:/Karlsruhe Institute of Technology/ p:/director / manager/ ?s . ?s ps:/director / manager/ wd:/Eberhard Umbach/ . ?s pq:/start time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What is the name of the larger taxonomic group that includes budgerigar but is also commonly known and conflated with budgerigar?
SELECT ?answer WHERE { wd:/Budgerigar/ wdt:/parent taxon/ ?answer . ?answer wdt:/taxon common name/ ?x FILTER(contains(?x,'Budgerigar'))}
Generate a SPARQL query that returns the answer of the following question.
which is the head quarter'wss location and the award recceived for the planned _parenthood?
SELECT ?ans_1 ?ans_2 WHERE { wd:/Planned Parenthood/ wdt:/headquarters location/ ?ans_1 . wd:/Planned Parenthood/ wdt:/award received/ ?ans_2 }
Generate a SPARQL query that returns the answer of the following question.
What was the movie about Jacques Cousteau that was nominated for a Best Documentary Feature Academy Award?
SELECT ?value WHERE { wd:/Jacques Cousteau/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Documentary Feature Film/ . ?s pq:/statement is subject of/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Name a skyscraper that contains the word " world" in its name
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/skyscraper/ . ?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.
Is the ultimate tensile strength of the Boron less than 4560.0?
ASK WHERE { wd:/boron/ wdt:/ultimate tensile strength/ ?obj filter(?obj < 4560.0) }
Generate a SPARQL query that returns the answer of the following question.
Where is the Costco Headquarters located in Issaquah, WA?
SELECT ?obj WHERE { wd:/Costco/ p:/headquarters location/ ?s . ?s ps:/headquarters location/ ?obj . ?s pq:/coordinate location/ ?x filter(contains(?x,'47.5501 -122.051')) }
Generate a SPARQL query that returns the answer of the following question.
Francesco I Sforza has how many children?
SELECT (COUNT(?obj) AS ?value ) { wd:/Francesco I Sforza/ wdt:/child/ ?obj }
Generate a SPARQL query that returns the answer of the following question.
Which recreational tool based on Control theory uses the principle of zero-sum game?
SELECT ?answer WHERE { wd:/zero-sum game/ wdt:/uses/ ?answer . ?answer wdt:/field of work/ wd:/control theory/}
Generate a SPARQL query that returns the answer of the following question.
When did Tallahassee have a population of 181376?
SELECT ?value WHERE { wd:/Tallahassee/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'181376')) . ?s pq:/point in time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Who is the brother in law of the writer Quran?
SELECT ?answer WHERE { wd:/The Qur’an/ wdt:/author/ ?X . ?X wdt:/relative/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
"Which party membership from Thomas Nast, named Garrison is located in Washington, D.C.?"
SELECT ?answer WHERE { wd:/Thomas Nast/ wdt:/member of political party/ ?answer . ?answer wdt:/headquarters location/ wd:/Washington, D.C./}
Generate a SPARQL query that returns the answer of the following question.
What is the name of the painting that depicts Jesus Christ
select distinct ?sbj where { ?sbj wdt:/depicts/ wd:/Jesus/ . ?sbj wdt:/instance of/ wd:/painting/ }
Generate a SPARQL query that returns the answer of the following question.
What is dissolved, abolished or demolished by Knossos at the statement with Gregorian date earlier than 1584?
SELECT ?obj WHERE { wd:/Knossos/ p:/dissolved, abolished or demolished date/ ?s . ?s ps:/dissolved, abolished or demolished date/ ?obj . ?s pq:/instance of/ wd:/statement with Gregorian date earlier than 1584/ }
Generate a SPARQL query that returns the answer of the following question.
Is it true that the total reserves of Denmark equal 75391898443?
ASK WHERE { wd:/Denmark/ wdt:/total reserves/ ?obj filter(?obj = 75391898443) }
Generate a SPARQL query that returns the answer of the following question.
How many companies have OJSC Russian Railways as a parent organization?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/parent organization/ wd:/Russian Railways/ }
Generate a SPARQL query that returns the answer of the following question.
Which important person is from Venice?
select distinct ?obj where { wd:/Venice/ wdt:/significant person/ ?obj . ?obj wdt:/instance of/ wd:/human/ }
Generate a SPARQL query that returns the answer of the following question.
What what is public educational institution of the United States category for employees of the organization Category:Clemson University faculty and also which that starts with c
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/public educational institution of the United States/ . ?sbj wdt:/category for employees of the organization/ wd:/Category:Clemson University faculty/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'c')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
What Julie Andrews was nominated for The Sound of Music?
SELECT ?obj WHERE { wd:/The Sound of Music/ p:/nominated for/ ?s . ?s ps:/nominated for/ ?obj . ?s pq:/nominee/ wd:/Julie Andrews/ }
Generate a SPARQL query that returns the answer of the following question.
Does the Mariana Trench have an elevation above sea level that is less than -13192.8?
ASK WHERE { wd:/Mariana Trench/ wdt:/elevation above sea level/ ?obj filter(?obj < -13192.8) }
Generate a SPARQL query that returns the answer of the following question.
Did the brother of Frederick IV, Duke of Austria have any children?
SELECT ?answer WHERE { wd:/Frederick IV, Duke of Austria/ wdt:/sibling/ ?X . ?X wdt:/child/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
On December 31, 2012, what were Nokia's total assets?
SELECT ?obj WHERE { wd:/Nokia/ p:/total assets/ ?s . ?s ps:/total assets/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2012')) }
Generate a SPARQL query that returns the answer of the following question.
When did Saint Vincent and the Grenadines have a population of 108150?
SELECT ?value WHERE { wd:/Saint Vincent and the Grenadines/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'108150.0')) . ?s pq:/point in time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Who is the government that heads the workplace of Carl Theodor Dreyer?
SELECT ?answer WHERE { wd:/Carl Theodor Dreyer/ wdt:/work location/ ?X . ?X wdt:/head of government/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
Who is {born on} {daddy} of {Shah Jahan} ?
SELECT ?answer WHERE { wd:/Shah Jahan/ wdt:/father/ ?X . ?X wdt:/date of birth/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What is the language of the people indigenous to chupenme la pija giles ndeahhre?
select distinct ?sbj where { ?sbj wdt:/indigenous to/ wd:/indigenous peoples of the Americas/ . ?sbj wdt:/instance of/ wd:/language family/ }
Generate a SPARQL query that returns the answer of the following question.
Are Princess Feodora Of Leiningen and Queen Victoria related?
SELECT ?value WHERE { wd:/Queen Victoria/ p:/sibling/ ?s . ?s ps:/sibling/ wd:/Princess Feodora, Princess of Hohenlohe-Langenburg/ . ?s pq:/kinship to subject/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What country celebrates Groundhog Day the distributor of InterCom?
SELECT ?value WHERE { wd:/Groundhog Day/ p:/distributed by/ ?s . ?s ps:/distributed by/ wd:/InterCom/ . ?s pq:/country/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What are signs of mercury poisoning as a result of using butabarbital for treatment?
SELECT ?answer WHERE { wd:/mercury poisoning/ wdt:/symptoms and signs/ ?answer . ?answer wdt:/drug or therapy used for treatment/ wd:/butabarbital/}
Generate a SPARQL query that returns the answer of the following question.
When did Bobby Moore join the Seattle Sounders?
SELECT ?value WHERE { wd:/Bobby Moore/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ wd:/Seattle Sounders/ . ?s pq:/start time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Is it true that the discharge of the Calnegia equals to 1.39?
ASK WHERE { wd:/Calnegia/ wdt:/discharge/ ?obj filter(?obj = 1.39) }
Generate a SPARQL query that returns the answer of the following question.
When was Gerd Muller a member of the German under-23 football team?
SELECT ?value WHERE { wd:/Gerd Müller/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ wd:/Germany national under-23 football team/ . ?s pq:/start time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Name someone living in Indianapolis
select distinct ?sbj where { ?sbj wdt:/residence/ wd:/Indianapolis/ . ?sbj wdt:/instance of/ wd:/human/ }
Generate a SPARQL query that returns the answer of the following question.
Is the highest no-effect level of chlorobenzene 27.25?
ASK WHERE { wd:/chlorobenzene/ wdt:/no-observed-adverse-effect level/ ?obj filter(?obj = 27.25) }
Generate a SPARQL query that returns the answer of the following question.
What is the found guilty of artist seen it all?
SELECT ?answer WHERE { wd:/Seen It All/ wdt:/performer/ ?X . ?X wdt:/convicted of/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What is the role played by the characters in Crash Bandicoot N. Sane Trilogy?
SELECT ?answer WHERE { wd:/Crash Bandicoot N. Sane Trilogy/ wdt:/characters/ ?X . ?X wdt:/subject has role/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
How many goals/points have been scored by Valeriy Lobanovskyi of FC Chornomorets Odesa?
SELECT ?value WHERE { wd:/Valeriy Lobanovskyi/ p:/member of sports team/ ?s . ?s ps:/member of sports team/ wd:/FC Chornomorets Odesa/ . ?s pq:/number of points/goals/set scored/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What is the sexual orientation and sex or gender of Little Richard?
SELECT ?ans_1 ?ans_2 WHERE { wd:/Little Richard/ wdt:/sexual orientation/ ?ans_1 . wd:/Little Richard/ wdt:/sex or gender/ ?ans_2 }
Generate a SPARQL query that returns the answer of the following question.
What is the name of the trade association that contains the word "association" in its name?
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/trade association/ . ?sbj wdt:/legal form/ wd:/voluntary association/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'association')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
in which year Jaroslav Heyrovský was nominated for Nobel Prize in Chemistry?
SELECT ?value WHERE { wd:/Jaroslav Heyrovský/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Nobel Prize in Chemistry/ . ?s pq:/point in time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What was the space probe launched from Cape Canaveral that starts with letter V ?
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/space probe/ . ?sbj wdt:/start point/ wd:/Cape Canaveral Space Launch Complex 41/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'v')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
What is the population of Yemen in the year 1994?
SELECT ?obj WHERE { wd:/Yemen/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1994')) }
Generate a SPARQL query that returns the answer of the following question.
Is the operating temperature of the Nesjavellir power station 190?
ASK WHERE { wd:/Nesjavellir Power Station/ wdt:/operating temperature/ ?obj filter(?obj = 190) }
Generate a SPARQL query that returns the answer of the following question.
What position in public office did Joko Widodo hold?
select distinct ?obj where { wd:/Joko Widodo/ wdt:/position held/ ?obj . ?obj wdt:/instance of/ wd:/public office/ }
Generate a SPARQL query that returns the answer of the following question.
Give me a name of hypostasis, which starts with an alphabet 'h'.
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/hypostasis/ . ?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.
When did WikiLeaks receive the Sam Adams Award?
SELECT ?value WHERE { wd:/WikiLeaks/ p:/award received/ ?s . ?s ps:/award received/ wd:/Sam Adams Award/ . ?s pq:/point in time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Tell me the observable universe that starts with the letter o.
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/observable universe/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'o')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
What is the person in the portrait of an equestrian statue of Joan of Arc guilty of?
SELECT ?answer WHERE { wd:/equestrian statue of Joan of Arc/ wdt:/depicts/ ?X . ?X wdt:/convicted of/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What region is the branch of Harran University in?
SELECT ?answer WHERE { wd:/Harran University/ wdt:/separated from/ ?X . ?X wdt:/location/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
Which isotope of indium has the most parity?
select ?ent where { ?ent wdt:/instance of/ wd:/isotope of indium/ . ?ent wdt:/parity quantum number/ ?obj } ORDER BY DESC(?obj)LIMIT 5
Generate a SPARQL query that returns the answer of the following question.
"Which is {marry} of {Cassiopeia}, who {has son} is {Andromeda} ?"
SELECT ?answer WHERE { wd:/Cassiopeia/ wdt:/spouse/ ?answer . ?answer wdt:/child/ wd:/Andromeda/}
Generate a SPARQL query that returns the answer of the following question.
What is the pronunciation audio of the administrative centre of Joseon ?
SELECT ?answer WHERE { wd:/Joseon/ wdt:/capital/ ?X . ?X wdt:/pronunciation audio/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
Which is the patent medicine that was invented by John Pemberton and contains the word coca in it's name?
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/patent medicine/ . ?sbj wdt:/discoverer or inventor/ wd:/John Pemberton/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'coca')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
When did the marriage of John II of France and Bonne of Bohemia end?
SELECT ?value WHERE { wd:/John II of France/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Bonne de Luxembourg/ . ?s pq:/end time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What preceded London Calling in the same literary genre of folk punk?
SELECT ?answer WHERE { wd:/London Calling/ wdt:/follows/ ?answer . ?answer wdt:/genre/ wd:/folk punk/}
Generate a SPARQL query that returns the answer of the following question.
Did William Henry Harrison hold the offices of Governor of Indiana and United States senator?
ASK WHERE { wd:/William Henry Harrison/ wdt:/position held/ wd:/Governor of Indiana/ . wd:/William Henry Harrison/ wdt:/position held/ wd:// }
Generate a SPARQL query that returns the answer of the following question.
Mention the Wikimedia categorization related to the civilians of Manipur.
select distinct ?obj where { wd:/Manipur/ wdt:/category of associated people/ ?obj . ?obj wdt:/instance of/ wd:/Wikimedia category/ }
Generate a SPARQL query that returns the answer of the following question.
What is the battle of Cardinal Richelieu
select distinct ?obj where { wd:/Armand-Jean du Plessis, duc de Richelieu/ wdt:/conflict/ ?obj . ?obj wdt:/instance of/ wd:/siege/ }
Generate a SPARQL query that returns the answer of the following question.
Who {has sister} of {children} {Ovadia Yosef} ?
SELECT ?answer WHERE { wd:/Ovadia Yosef/ wdt:/child/ ?X . ?X wdt:/sibling/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What award was received by Valeri Polyakov on April 4, 2011?
SELECT ?obj WHERE { wd:/Valeri Polyakov/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2011')) }
Generate a SPARQL query that returns the answer of the following question.
Who is the plaintiff in Obergefell v. Hodges?
select distinct ?obj where { wd:/Obergefell v. Hodges/ wdt:/plaintiff/ ?obj . ?obj wdt:/instance of/ wd:/human/ }
Generate a SPARQL query that returns the answer of the following question.
What award did Marvin Hamlisch win at the 46th Academy Awards?
SELECT ?obj WHERE { wd:/Marvin Hamlisch/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/statement is subject of/ wd:/46th Academy Awards/ }
Generate a SPARQL query that returns the answer of the following question.
How many things are founded by Bernard of Clairvaux?
SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/founded by/ wd:/Bernard of Clairvaux/ }
Generate a SPARQL query that returns the answer of the following question.
When did Rhône-Alpes become the twin city of Shanghai ?
SELECT ?value WHERE { wd:/Rhône-Alpes/ p:/twinned administrative body/ ?s . ?s ps:/twinned administrative body/ wd:/Shanghai/ . ?s pq:/start time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
What award did Duke Ellington receive for Jonas?
SELECT ?obj WHERE { wd:/Duke Ellington/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/for work/ wd:/Jonas/ }
Generate a SPARQL query that returns the answer of the following question.
"What is {main topic} of {bardo}, which {founded in} is {Bodh Gaya} ?"
SELECT ?answer WHERE { wd:/bardo/ wdt:/facet of/ ?answer . ?answer wdt:/location of formation/ wd:/Bodh Gaya/}
Generate a SPARQL query that returns the answer of the following question.
Did Absinthe come from Switzerland?
ASK WHERE { wd:/absinthe/ wdt:/country of origin/ wd:/Switzerland/ }
Generate a SPARQL query that returns the answer of the following question.
When and where in Europe was the Super Mario Brothers introduced?
SELECT ?obj WHERE { wd:/Super Mario Bros./ p:/publication date/ ?s . ?s ps:/publication date/ ?obj . ?s pq:/place of publication/ wd:/Europe/ }
Generate a SPARQL query that returns the answer of the following question.
What is the population of Rhode Island according to the census?
SELECT ?obj WHERE { wd:/Rhode Island/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/determination method/ wd:/census/ }
Generate a SPARQL query that returns the answer of the following question.
What is The Dean's Answer to The Rebus know for?
SELECT ?answer WHERE { wd:/The Dean's Answer to The Rebus/ wdt:/author/ ?X . ?X wdt:/notable work/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
What is the district of Yemen} with the lowest female population whose located in the administrative territorial entity is 'Amran Governorate ?
select ?ent where { ?ent wdt:/instance of/ wd:/district of Yemen/ . ?ent wdt:/female population/ ?obj . ?ent wdt:/located in the administrative territorial entity/ wd:/'Amran Governorate/} ORDER BY ASC(?obj)LIMIT 5
Generate a SPARQL query that returns the answer of the following question.
What are the civil code which start with the letter code
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/civil code/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'code')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
Where did Kang Sheng die that is near Tokoyo?
SELECT ?answer WHERE { wd:/Kang Sheng/ wdt:/place of death/ ?answer . ?answer wdt:/twinned administrative body/ wd:/Tokyo/}
Generate a SPARQL query that returns the answer of the following question.
What is the Human Development Index of Afghanistan in the year 2015?
SELECT ?obj WHERE { wd:/Afghanistan/ p:/Human Development Index/ ?s . ?s ps:/Human Development Index/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2015')) }
Generate a SPARQL query that returns the answer of the following question.
Who plays in the sequel of Ziegfeld Follies (1911)?
SELECT ?answer WHERE { wd:/Ziegfeld Follies of 1911/ wdt:/follows/ ?X . ?X wdt:/performer/ ?answer}
Generate a SPARQL query that returns the answer of the following question.
Tell me famine whose name has the word turnip in it.
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/famine/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'turnip')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
What venue of the Battle of Nahāvand is in the borough of Central District?
SELECT ?answer WHERE { wd:/Battle of Nahāvand/ wdt:/location/ ?answer . ?answer wdt:/located in the administrative territorial entity/ wd:/Central District/}
Generate a SPARQL query that returns the answer of the following question.
What is designed and influenced by JavaScript?
SELECT ?ans_1 ?ans_2 WHERE { wd:/JavaScript/ wdt:/designed by/ ?ans_1 . wd:/JavaScript/ wdt:/influenced by/ ?ans_2 }
Generate a SPARQL query that returns the answer of the following question.
Name the profession of people working with interior design
select distinct ?sbj where { ?sbj wdt:/field of this occupation/ wd:/interior design/ . ?sbj wdt:/instance of/ wd:/profession/ }
Generate a SPARQL query that returns the answer of the following question.
Was catastrophism studied by memes?
ASK WHERE { wd:/meme/ wdt:/studied by/ wd:/catastrophism/ }
Generate a SPARQL query that returns the answer of the following question.
What territory overlaps the Rideau Canal?
SELECT (COUNT(?obj) AS ?value ) { wd:/Rideau Canal/ wdt:/territory overlaps/ ?obj }
Generate a SPARQL query that returns the answer of the following question.
What is the date of first performance of Turandot whose cast member is Miguel Burró Fleta?
SELECT ?obj WHERE { wd:/Turandot/ p:/date of first performance/ ?s . ?s ps:/date of first performance/ ?obj . ?s pq:/cast member/ wd:/Miguel Fleta/ }
Generate a SPARQL query that returns the answer of the following question.
When was Harvey Williams Cushing nominated for the Nobel Prize in Physiology or Medicine?
SELECT ?value WHERE { wd:/Harvey Williams Cushing/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Nobel Prize in Physiology or Medicine/ . ?s pq:/point in time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
Over what period was the Ryukyu Kingdom a vassal state?
SELECT ?value WHERE { wd:/Ryukyu Kingdom/ p:/instance of/ ?s . ?s ps:/instance of/ wd:/vassal state/ . ?s pq:/start time/ ?value}
Generate a SPARQL query that returns the answer of the following question.
TELL ME THE AGE THAT STARTS WITH G
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/age of a person/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'g')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
Generate a SPARQL query that returns the answer of the following question.
Who owns CNN is owned and who is CNN owned by?
SELECT ?ans_1 ?ans_2 WHERE { wd:/CNN/ wdt:/owner of/ ?ans_1 . wd:/CNN/ wdt:/owned by/ ?ans_2 }
Generate a SPARQL query that returns the answer of the following question.
Who was the spouse of El Cid in the year 1074?
SELECT ?obj WHERE { wd:/El Cid/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1074')) }