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 medals did the inventor of the typewriter receive? | SELECT ?answer WHERE { wd:/typewriter/ wdt:/discoverer or inventor/ ?X . ?X wdt:/award received/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Anni-Frid Lyngstad marry Prince Heinrich Ruzzo Reuss of Plauen? | SELECT ?value WHERE { wd:/Anni-Frid Lyngstad/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Prince Heinrich Ruzzo Reuss of Plauen/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is the number of representations of A Seaside Rendezvous less than 2.4? | ASK WHERE { wd:/A Seaside Rendezvous/ wdt:/number of representations/ ?obj filter(?obj < 2.4) } |
Generate a SPARQL query that returns the answer of the following question. | Which brother of Atahualpa has sons? | SELECT ?answer WHERE { wd:/Atahualpa/ wdt:/sibling/ ?X . ?X wdt:/child/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | what is declaration of independent distributed by james wilson and also which starts with letter d | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/declaration of independence/ . ?sbj wdt:/signatory/ wd:/James Wilson/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'd')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What was Senegal’s inflation rate in 2016? | SELECT ?obj WHERE { wd:/Senegal/ p:/inflation rate/ ?s . ?s ps:/inflation rate/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2016')) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the dimension of the topic called introduction to entropy. | SELECT ?answer WHERE { wd:/Introduction to entropy/ wdt:/facet of/ ?X . ?X wdt:/ISQ dimension/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which is the active patron saint of Adrian IV? | SELECT ?answer WHERE { wd:/Adrian IV/ wdt:/work location/ ?X . ?X wdt:/patron saint/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Do the rural cities of Para have 13155 inhabitants? | SELECT ?answer WHERE { wd:/Pará/ wdt:/contains the administrative territorial entity/ ?answer . ?answer wdt:/population/ ?x FILTER(contains(?x,'13155'))} |
Generate a SPARQL query that returns the answer of the following question. | What is the biological process responsible for the development of the anatomical structure of the respiratory system? | select distinct ?obj where { wd:/respiratory system/ wdt:/development of anatomical structure/ ?obj . ?obj wdt:/instance of/ wd:/biological process/ } |
Generate a SPARQL query that returns the answer of the following question. | Does the total revenue of IHOP equal to 349.6? | ASK WHERE { wd:/IHOP/ wdt:/total revenue/ ?obj filter(?obj = 349.6) } |
Generate a SPARQL query that returns the answer of the following question. | Who gave the {bordered by} of {basin countries} of {Elbe} ? | SELECT ?answer WHERE { wd:/Elbe/ wdt:/basin country/ ?X . ?X wdt:/shares border with/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Tell me war of succession whose name has the word wars in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/war of succession/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wars')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | When did Robert De Niro reside in Marbletown? | SELECT ?value WHERE { wd:/Robert De Niro/ p:/residence/ ?s . ?s ps:/residence/ wd:/Marbletown/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When was Countess Isabel of Gloucester the wife of John of England? | SELECT ?value WHERE { wd:/John, King of England/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Isabel, Countess of Gloucester/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | who film production company for business division of Walt Disney Parks and Resorts? | select distinct ?sbj where { ?sbj wdt:/business division/ wd:/Disney Parks, Experiences and Products/ . ?sbj wdt:/instance of/ wd:/film production company/ } |
Generate a SPARQL query that returns the answer of the following question. | What Hanseatic city is the twinned administrative body of Leeds? | select distinct ?sbj where { ?sbj wdt:/twinned administrative body/ wd:/Leeds/ . ?sbj wdt:/instance of/ wd:/Hanseatic city/ } |
Generate a SPARQL query that returns the answer of the following question. | When was Bangalore part of the Mysore State? | SELECT ?value WHERE { wd:/Bangalore/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ wd:/Mysore State/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When is {diplomatic relation} with {nationality} of {Usher} ? | SELECT ?answer WHERE { wd:/Usher/ wdt:/country of citizenship/ ?X . ?X wdt:/diplomatic relation/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Ireland has how many ancestral homes? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/ancestral home/ wd:/Republic of Ireland/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the built language for Esperanto signed? | select distinct ?obj where { wd:/Esperanto/ wdt:/signed form/ ?obj . ?obj wdt:/instance of/ wd:/constructed language/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the theme of "katal," also known as "Sekunde?" | SELECT ?answer WHERE { wd:/katal/ wdt:/based on/ ?answer . ?answer wdt:/different from/ wd:/Sekunde/} |
Generate a SPARQL query that returns the answer of the following question. | What type of beryl is found at he GPS coordinates of 24.77111111 34. 71805556? | SELECT ?answer WHERE { wd:/beryl/ wdt:/type locality (geology)/ ?answer . ?answer wdt:/coordinate location/ ?x FILTER(contains(?x,'24.77111111 34.71805556'))} |
Generate a SPARQL query that returns the answer of the following question. | Who is C. V. Raman's doctor | select distinct ?sbj where { ?sbj wdt:/doctoral advisor/ wd:/Chandrasekhara Venkata Raman/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Former champion Francisco Alarcon gave what award to Art Spiegelaman? | SELECT ?answer WHERE { wd:/Art Spiegelman/ wdt:/award received/ ?answer . ?answer wdt:/winner/ wd:/Francisco X. Alarcón/} |
Generate a SPARQL query that returns the answer of the following question. | Whose child is the son of Frederick William, the Elector of Brandenburg? | SELECT ?answer WHERE { wd:/Frederick William of Brandenburg/ wdt:/father/ ?X . ?X wdt:/child/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Cuiaba become part of Mato Grosso ? | SELECT ?value WHERE { wd:/Mato Grosso/ p:/contains the administrative territorial entity/ ?s . ?s ps:/contains the administrative territorial entity/ wd:/Cuiabá/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Name the person behind the renowned work of Nineteen Eighty-Four | select distinct ?sbj where { ?sbj wdt:/notable work/ wd:/Nineteen Eighty-Four/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the sports team which contains the word world in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/sports team/ . ?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. | Which position held by Vittorio Emanuele III ended on September 8, 1943? | SELECT ?obj WHERE { wd:/Vittorio Emanuele III of Italy/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1943')) } |
Generate a SPARQL query that returns the answer of the following question. | Which chemical element follows silicon in the periodic table? | SELECT ?value WHERE { wd:/silicon/ p:/instance of/ ?s . ?s ps:/instance of/ wd:/chemical element/ . ?s pq:/follows/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the Inventor who was named after Titanium? | SELECT ?ans_1 ?ans_2 WHERE { wd:/titanium/ wdt:/discoverer or inventor/ ?ans_1 . wd:/titanium/ wdt:/named after/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | What is taxon parent symbol of Utah? | SELECT ?answer WHERE { wd:/Utah/ wdt:/official symbol/ ?X . ?X wdt:/parent taxon/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | VAT rate of 27%, | select ?ent where { ?ent wdt:/instance of/ wd:/landlocked country/ . ?ent wdt:/VAT rate/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Which taxon has the highest chromosome count? | select ?ent where { ?ent wdt:/instance of/ wd:/taxon/ . ?ent wdt:/chromosome count/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What was Anna Freud's country of citizenship in 1946? | SELECT ?obj WHERE { wd:/Anna Freud/ p:/country of citizenship/ ?s . ?s ps:/country of citizenship/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1946')) } |
Generate a SPARQL query that returns the answer of the following question. | Is 0 the length of the Kulin kamik? | ASK WHERE { wd:/Kulin kamik/ wdt:/length/ ?obj filter(?obj = 0) } |
Generate a SPARQL query that returns the answer of the following question. | What is Craig T. Nelson's spoken language whose name is abbreviated английский? | SELECT ?answer WHERE { wd:/Craig T. Nelson/ wdt:/languages spoken, written or signed/ ?answer . ?answer wdt:/short name/ ?x FILTER(contains(?x,'английский'))} |
Generate a SPARQL query that returns the answer of the following question. | What country was replaced by the Kingdom of Great Britain? | select distinct ?sbj where { ?sbj wdt:/replaced by/ wd:/Great Britain/ . ?sbj wdt:/instance of/ wd:/historical country/ } |
Generate a SPARQL query that returns the answer of the following question. | What is learning the higher taxon of ornithology? | SELECT ?answer WHERE { wd:/ornithology/ wdt:/is the study of/ ?X . ?X wdt:/parent taxon/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What was the population in Brasilla at the time of 2.61e+06? | SELECT ?value WHERE { wd:/Brasília/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'2.61e+06')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who gave the {ideology} of {member of} of {Lola Iturbe} ? | SELECT ?answer WHERE { wd:/Lola Iturbe/ wdt:/member of/ ?X . ?X wdt:/political ideology/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Where id John Ruskin work in 1834? | SELECT ?obj WHERE { wd:/John Ruskin/ p:/work location/ ?s . ?s ps:/work location/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1834')) } |
Generate a SPARQL query that returns the answer of the following question. | Where can data about Wakayama Prefecture be found that is open to the public? | SELECT ?obj WHERE { wd:/Wakayama Prefecture/ p:/external data available at URL/ ?s . ?s ps:/external data available at URL/ ?obj . ?s pq:/of/ wd:/open data/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the maximum number of players for the coxless four 0.0? | ASK WHERE { wd:/coxless four/ wdt:/maximum number of players/ ?obj filter(?obj = 0.0) } |
Generate a SPARQL query that returns the answer of the following question. | what is position did Jose Sarney hold that was later taken over by Itamar Franco? | SELECT ?obj WHERE { wd:/José Sarney/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/replaced by/ wd:/Itamar Franco/ } |
Generate a SPARQL query that returns the answer of the following question. | "Which Science, that studies deformation, has a history in The History of Engineering?" | SELECT ?answer WHERE { wd:/deformation/ wdt:/studied by/ ?answer . ?answer wdt:/history of topic/ wd:/history of engineering/} |
Generate a SPARQL query that returns the answer of the following question. | What unit of time can bu used to measure duration and contains the word "year" in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/unit of time/ . ?sbj wdt:/measured physical quantity/ wd:/duration/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'year')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who was the person that was the child of Alexander Pushkin? | select distinct ?sbj where { ?sbj wdt:/child/ wd:/Alexander Pushkin/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | How was the population of Tolyatti determined to be 6381.0? | SELECT ?value WHERE { wd:/Tolyatti/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'6381.0')) . ?s pq:/determination method/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What did Tacitus say about Quintilian? | SELECT ?value WHERE { wd:/Tacitus/ p:/student of/ ?s . ?s ps:/student of/ wd:/Quintilian/ . ?s pq:/nature of statement/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the publisher and creator of Playboy? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Playboy/ wdt:/publisher/ ?ans_1 . wd:/Playboy/ wdt:/creator/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Tell me video game whose name has the word zauberschloß in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/video game/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'zauberschloß')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | For what work Ellen Burstyn has nominated to Academy Award for Best Actress? | SELECT ?value WHERE { wd:/Ellen Burstyn/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Actress/ . ?s pq:/for work/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the person that was educated at the University of Notre Dame? | select distinct ?sbj where { ?sbj wdt:/educated at/ wd:/University of Notre Dame/ . ?sbj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Was Komodo_dragon habitat Flores and Rinca ? | ASK WHERE { wd:/Varanus komodoensis/ wdt:/habitat/ wd:/Flores Island/ . wd:/Varanus komodoensis/ wdt:/habitat/ wd:/Rinca Island/ } |
Generate a SPARQL query that returns the answer of the following question. | What is in the municipality of Canton of Jura that has a -0.3 inflation rate of consumer price index? | SELECT ?answer WHERE { wd:/Canton of Jura/ wdt:/located in the administrative territorial entity/ ?answer . ?answer wdt:/inflation rate/ ?x FILTER(contains(?x,'-0.3'))} |
Generate a SPARQL query that returns the answer of the following question. | Tell me which is the legal doctrine which contains the word person in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/legal doctrine/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'person')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What wind turbine power station has the least annual energy output? | select ?ent where { ?ent wdt:/instance of/ wd:/power station/ . ?ent wdt:/annual energy output/ ?obj . ?ent wdt:/has part(s) of the class/ wd:/wind turbine/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | "Who is from Yes, and has a Ocean in the River Thames?" | SELECT ?answer WHERE { wd:/Yes/ wdt:/location of formation/ ?answer . ?answer wdt:/located in or next to body of water/ wd:/River Thames/} |
Generate a SPARQL query that returns the answer of the following question. | Does Polyamid 610 have a tensile modulus of elasticity equal to 1040.0? | ASK WHERE { wd:/Polyamide 610/ wdt:/tensile modulus of elasticity/ ?obj filter(?obj = 1040.0) } |
Generate a SPARQL query that returns the answer of the following question. | What award did Maggie Smith win on 4/9/1979? | SELECT ?obj WHERE { wd:/Maggie Smith/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1979')) } |
Generate a SPARQL query that returns the answer of the following question. | The writing system of Urdu is based on which Arabic script based alphabet? | select distinct ?obj where { wd:/Urdu/ wdt:/writing system/ ?obj . ?obj wdt:/instance of/ wd:/Arabic script based alphabet/ } |
Generate a SPARQL query that returns the answer of the following question. | Who are the sons of Alphonse Mucha, who is the daughter of Marie Chytilová? | SELECT ?answer WHERE { wd:/Alphonse Mucha/ wdt:/child/ ?answer . ?answer wdt:/mother/ wd:/Marie Chytilová/} |
Generate a SPARQL query that returns the answer of the following question. | What character did James Pickens play in Beverly Hills, 90210 ? | SELECT ?value WHERE { wd:/Beverly Hills, 90210/ p:/cast member/ ?s . ?s ps:/cast member/ wd:/James Pickens/ . ?s pq:/character role/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What body part does the medicine dicloxacillin treat? | SELECT ?answer WHERE { wd:/dicloxacillin/ wdt:/medical condition treated/ ?X . ?X wdt:/anatomical location/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many individuals do law schools educate? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/educated at/ wd:/law school/ } |
Generate a SPARQL query that returns the answer of the following question. | WHICH IS THE PLANETARY SYSTMEN OF PLANET ON TROLD SINUS? | SELECT ?answer WHERE { wd:/Trold Sinus/ wdt:/located on astronomical body/ ?X . ?X wdt:/parent astronomical body/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the garrison of International Society for Krishna Consciousness, of which the Women in Red Banner are Mayapur Banner.jpg? | SELECT ?answer WHERE { wd:/International Society for Krishna Consciousness/ wdt:/headquarters location/ ?answer . ?answer wdt:/page banner/ ?x FILTER(contains(?x,'Mayapur Banner.jpg'))} |
Generate a SPARQL query that returns the answer of the following question. | Which administrative centre of Kingdom of Galicia–Volhynia ? | SELECT ?answer WHERE { wd:/Kingdom of Galicia–Volhynia/ wdt:/capital/ ?X . ?X wdt:/capital of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Name the binary star with the least parallax whose child astronomical body is Tellar Prime. | select ?ent where { ?ent wdt:/instance of/ wd:/binary star/ . ?ent wdt:/parallax/ ?obj . ?ent wdt:/child astronomical body/ wd:/Tellar Prime/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | "Which is {in conflict} of {Hermann Balck}, where has {venue} is {Europe} ?" | SELECT ?answer WHERE { wd:/Hermann Balck/ wdt:/conflict/ ?answer . ?answer wdt:/location/ wd:/Europe/} |
Generate a SPARQL query that returns the answer of the following question. | Where is {pronunciation audio} of {continent} {Kadamba Dynasty} ? | SELECT ?answer WHERE { wd:/Kadamba dynasty/ wdt:/continent/ ?X . ?X wdt:/pronunciation audio/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many sources of energy are for plough? | SELECT (COUNT(?obj) AS ?value ) { wd:/plough/ wdt:/source of energy/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the flag crest of the state in which Lake Winnebago is located? | SELECT ?answer WHERE { wd:/Lake Winnebago/ wdt:/country/ ?X . ?X wdt:/coat of arms/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Name a color that contain the word "yellow " in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/color/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'yellow')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who is the {human} for {partner} of {Paul Thomas Anderson} | select distinct ?obj where { wd:/Paul Thomas Anderson/ wdt:/unmarried partner/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Does the BBC own ITN and BBC Choice? | ASK WHERE { wd:/BBC/ wdt:/owner of/ wd:/ITN/ . wd:/BBC/ wdt:/owner of/ wd:/BBC Choice/ } |
Generate a SPARQL query that returns the answer of the following question. | Is 41.269065 the declination of the Andromeda Galaxy? | ASK WHERE { wd:/Andromeda/ wdt:/declination/ ?obj filter(?obj = 41.269065) } |
Generate a SPARQL query that returns the answer of the following question. | Which is the sport discipline with mouse input method that starts with the letter d? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/sports discipline/ . ?sbj wdt:/input device/ wd:/mouse/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'd')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is written in The Interpretation of Dreams who is a male. | SELECT ?answer WHERE { wd:/Die Traumdeutung/ wdt:/author/ ?answer . ?answer wdt:/sex or gender/ wd:/male/} |
Generate a SPARQL query that returns the answer of the following question. | What position did Charles X of France take over on 1824-9-16? | SELECT ?obj WHERE { wd:/Charles X of France/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1824')) } |
Generate a SPARQL query that returns the answer of the following question. | Which is the tributary over the Pont Neuf? | SELECT ?answer WHERE { wd:/Pont Neuf/ wdt:/crosses/ ?X . ?X wdt:/tributary/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | who opposite of manifestation of figure of the earth ? | SELECT ?answer WHERE { wd:/figure of the Earth/ wdt:/manifestation of/ ?X . ?X wdt:/opposite of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Mahmoud Abbas is a citizen of which country? | select distinct ?obj where { wd:/Mahmoud Abbas/ wdt:/country of citizenship/ ?obj . ?obj wdt:/instance of/ wd:/country/ } |
Generate a SPARQL query that returns the answer of the following question. | What would be the interaction subject of the top quark? | SELECT ?answer WHERE { wd:/top quark/ wdt:/interaction/ ?X . ?X wdt:/facet of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Where in the Kingdom of Italy was the birthplace of Anna Magnani? | SELECT ?obj WHERE { wd:/Anna Magnani/ p:/place of birth/ ?s . ?s ps:/place of birth/ ?obj . ?s pq:/country/ wd:/Kingdom of Italy/ } |
Generate a SPARQL query that returns the answer of the following question. | When did the Walt Disney Company win the Public Eye Award? | SELECT ?value WHERE { wd:/The Walt Disney Company/ p:/award received/ ?s . ?s ps:/award received/ wd:/Public Eye Award, Category "Social"/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is number out of school children stockholders of The Birth of Venus ? | SELECT ?answer WHERE { wd:/The Birth of Venus/ wdt:/owned by/ ?X . ?X wdt:/number of out-of-school children/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | what position did colin renfrew hold in 2004-0-0? | SELECT ?obj WHERE { wd:/Colin Renfrew/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2004')) } |
Generate a SPARQL query that returns the answer of the following question. | During the February Revolution was Santiago de Cuba known as twin town? | SELECT ?answer WHERE { wd:/February Revolution/ wdt:/location/ ?answer . ?answer wdt:/twinned administrative body/ wd:/Santiago de Cuba/} |
Generate a SPARQL query that returns the answer of the following question. | What is the version number of the edition of Abhigyanashakuntalam ? | SELECT ?answer WHERE { wd:/Abhigyanashakuntalam/ wdt:/has edition or translation/ ?X . ?X wdt:/edition number/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the treated by of the signs of dengue fever? | SELECT ?answer WHERE { wd:/dengue fever/ wdt:/symptoms and signs/ ?X . ?X wdt:/drug or therapy used for treatment/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Whose brother painted a painting of Shiva with Parvati, Ganesha, and Nandi? | SELECT ?answer WHERE { wd:/Shiva with Parvati, Ganesha, and Nandi/ wdt:/depicts/ ?X . ?X wdt:/sibling/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Does the elongation at break of the Grivory GM-4H equal to 5? | ASK WHERE { wd:/Grivory GM-4H/ wdt:/elongation at break/ ?obj filter(?obj = 5) } |
Generate a SPARQL query that returns the answer of the following question. | How many words are in the language Bāṇabhaṭṭa? | SELECT ?answer WHERE { wd:/Bāṇabhaṭṭa/ wdt:/languages spoken, written or signed/ ?X . ?X wdt:/Dewey Decimal Classification/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who was nominated for the Academy Award for Best Director for The Third Man? | SELECT ?value WHERE { wd:/The Third Man/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Director/ . ?s pq:/nominee/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | which country in Beersheba has am end time of 1917-10-31? | SELECT ?obj WHERE { wd:/Beersheba/ p:/country/ ?s . ?s ps:/country/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1917')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the {transliteration for the {Zhongshan} ? | SELECT (COUNT(?obj) AS ?value ) { wd:/Zhongshan/ wdt:/transliteration/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the highest award given in science and engineering by Padma Vibhushan? | select ?ent where { ?ent wdt:/instance of/ wd:/award/ . ?ent wdt:/quantity/ ?obj . ?ent wdt:/has part(s)/ wd:/Padma Vibhushan in science & engineering/ } ORDER BY DESC(?obj)LIMIT 5 |
End of preview. Expand
in Dataset Viewer.
Dataset Card for "sparql-correctonly"
Example:
instruction: Generate a SPARQL query that returns the answer of the following question.
input: What periodical literature does Delta Air Lines use as a moutpiece?
output: select distinct ?obj where { wd:/Delta Air Lines/ wdt:/house publication/ ?obj . ?obj wdt:/instance of/ wd:/periodical/ }
- Downloads last month
- 46