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 do the stars on the United States of America symbolize? | SELECT ?value WHERE { wd:/flag of the United States/ p:/depicts/ ?s . ?s ps:/depicts/ wd:/field/ . ?s pq:/symbolizes/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | How many archives are at Harvard University? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/archives at/ wd:/Harvard University/ } |
Generate a SPARQL query that returns the answer of the following question. | Who developed Structured Query Language? | select distinct ?obj where { wd:/SQL/ wdt:/developer/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | Who are the partners in John Wright's struggle? | SELECT ?answer WHERE { wd:// wdt:/conflict/ ?X . ?X wdt:/participant/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which is the sexual preference of the studies of psychotherapy? | select distinct ?obj where { wd:/psychotherapy/ wdt:/is the study of/ ?obj . ?obj wdt:/instance of/ wd:/sexual preference/ } |
Generate a SPARQL query that returns the answer of the following question. | Who is {disciple} and {supervisor} of {David Ward-Steinman} ? | SELECT ?answer WHERE { wd:/David Ward-Steinman/ wdt:/student of/ ?X . ?X wdt:/student/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What position Rafael Correa was elected in Ecuadorian general election, 2009? | SELECT ?obj WHERE { wd:/Rafael Correa Delgado/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/elected in/ wd:/2009 Ecuadorian general election/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the series ordinal for chairperson Kaoru Kamata at Waseda University? | SELECT ?value WHERE { wd:/Waseda University/ p:/chairperson/ ?s . ?s ps:/chairperson/ wd:/Kaoru Kamata/ . ?s pq:/series ordinal/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which model of drill has the least vibration? | select ?ent where { ?ent wdt:/instance of/ wd:/drill model/ . ?ent wdt:/vibration/ ?obj . ?ent wdt:/subclass of/ wd:/drill/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the street address of the headquarters of Netflix in Los Gatos? | SELECT ?value WHERE { wd:/Netflix/ p:/headquarters location/ ?s . ?s ps:/headquarters location/ wd:/Los Gatos/ . ?s pq:// ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the opposite of noise? | SELECT ?answer WHERE { wd:/noise/ wdt:/manifestation of/ ?X . ?X wdt:/opposite of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the local dialling code of the Dallas Morning News? | SELECT ?answer WHERE { wd:/The Dallas Morning News/ wdt:/place of publication/ ?X . ?X wdt:/local dialing code/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the cuisines in the {sushi} ? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/cuisine/ wd:/sushi/ } |
Generate a SPARQL query that returns the answer of the following question. | What time does the show with Franz Marc and his spouse Marie Schnür | SELECT ?value WHERE { wd:/Franz Marc/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Marie Schnür/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What film production company was founded by Oprah Winfrey? | select distinct ?sbj where { ?sbj wdt:/founded by/ wd:/Oprah Winfrey/ . ?sbj wdt:/instance of/ wd:/film production company/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the compressive modulus of elasticity of copper greater than 120.0? | ASK WHERE { wd:/copper/ wdt:/compressive modulus of elasticity/ ?obj filter(?obj > 120.0) } |
Generate a SPARQL query that returns the answer of the following question. | What Opera did Pyotr Ilyish Tchaikovsky compose for | select distinct ?sbj where { ?sbj wdt:/librettist/ wd:/Pyotr Ilyich Tchaikovsky/ . ?sbj wdt:/instance of/ wd:/opera/ } |
Generate a SPARQL query that returns the answer of the following question. | What is divided into diplomatic relation of Belarus ? | SELECT ?answer WHERE { wd:/Belarus/ wdt:/diplomatic relation/ ?X . ?X wdt:/contains the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When was "A Chorus Line" nominated for Drama Desk Award for Outstanding Music? | SELECT ?value WHERE { wd:/A Chorus Line/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Drama Desk Award for Outstanding Music/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the Patron saint Anthony of Padua's ruins? | select distinct ?sbj where { ?sbj wdt:/patron saint/ wd:/Anthony of Padua/ . ?sbj wdt:/instance of/ wd:/ruins/ } |
Generate a SPARQL query that returns the answer of the following question. | What specialty of the profession is Denis Goldberg | SELECT ?answer WHERE { wd:/Denis Goldberg/ wdt:/occupation/ ?X . ?X wdt:/field of this occupation/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is a symptom of camphor overdose diarrhea? | SELECT ?answer WHERE { wd:/camphor/ wdt:/has effect/ ?answer . ?answer wdt:/symptoms and signs/ wd:/diarrhea/} |
Generate a SPARQL query that returns the answer of the following question. | Name the river with maximim Strahler number? | select ?ent where { ?ent wdt:/instance of/ wd:/river/ . ?ent wdt:/maximum Strahler number/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is Oldboy from author Nobuaki Minegishi based on? | SELECT ?obj WHERE { wd:/Oldboy/ p:/based on/ ?s . ?s ps:/based on/ ?obj . ?s pq:/author/ wd:/Nobuaki Minegishi/ } |
Generate a SPARQL query that returns the answer of the following question. | The Smashing Pumpkins are from what county seat in England? | SELECT ?answer WHERE { wd:/The Smashing Pumpkins/ wdt:/location of formation/ ?X . ?X wdt:/capital of/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the main voltage of Fiji more than 192.0? | ASK WHERE { wd:/Fiji/ wdt:/mains voltage/ ?obj filter(?obj > 192.0) } |
Generate a SPARQL query that returns the answer of the following question. | Iroquois is depicted by what statue? | select distinct ?obj where { wd:/Haudenosaunee Confederacy/ wdt:/depicted by/ ?obj . ?obj wdt:/instance of/ wd:/statue/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the Gini coefficient of Tunisia equals to 36.1? | ASK WHERE { wd:/Tunisia/ wdt:/Gini coefficient/ ?obj filter(?obj = 36.1) } |
Generate a SPARQL query that returns the answer of the following question. | What is Q48460 portrait of Arnolfini Portrait ? | SELECT ?answer WHERE { wd:/Arnolfini Portrait/ wdt:/depicts/ ?X . ?X wdt:/Dewey Decimal Classification/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | who work of motif of david with the head of goliath ? | SELECT ?answer WHERE { wd:/David with the Head of Goliath/ wdt:/depicts/ ?X . ?X wdt:/present in work/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When was the number of households in Kenitra 54158.0? | SELECT ?value WHERE { wd:/Kenitra/ p:/number of households/ ?s . ?s ps:/number of households/ ?x filter(contains(?x,'54158.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the number of seats of the Ginninderra equals to 5? | ASK WHERE { wd:/Ginninderra/ wdt:/number of seats/ ?obj filter(?obj = 5) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the award received by Arthur Smith Woodward in 1924? | SELECT ?obj WHERE { wd:/Arthur Smith Woodward/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1924')) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me Mahavidya whose name has the word tara in it | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/Mahavidya/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'tara')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Does Vince Vaughn have a residence in both Lake Forest and Buffalo Grove? | ASK WHERE { wd:/Vince Vaughn/ wdt:/residence/ wd:/Lake Forest/ . wd:/Vince Vaughn/ wdt:/residence/ wd:/Buffalo Grove/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me area of law whose name has the word law in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/area of law/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'law')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What are the data serialization format that contains the word yaml in their name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/data serialization format/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'yaml')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who are the characters from the narrative of Sigurd? | SELECT ?answer WHERE { wd:/Sigurd/ wdt:/present in work/ ?X . ?X wdt:/characters/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Was Neptune child astronomical body Larissa and Galatea ? | ASK WHERE { wd:/Neptune/ wdt:/child astronomical body/ wd:/Larissa/ . wd:/Neptune/ wdt:/child astronomical body/ wd:/Galatea/ } |
Generate a SPARQL query that returns the answer of the following question. | When is the football event starts in July? | select ?ent where { ?ent wdt:/instance of/ wd:/association football league/ . ?ent wdt:/event interval/ ?obj . ?ent wdt:/season starts/ wd:/July/ } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Who was the head of State of Georgia on January 25th, 2004? | SELECT ?obj WHERE { wd:/Georgia/ p:/head of state/ ?s . ?s ps:/head of state/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'2004')) } |
Generate a SPARQL query that returns the answer of the following question. | Ruth Benedict lives in what administrative location? | SELECT ?answer WHERE { wd:/Ruth Benedict/ wdt:/residence/ ?X . ?X wdt:/located in the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many numbers of the official symbol for the Quebec} ? | SELECT (COUNT(?obj) AS ?value ) { wd:/Quebec/ wdt:/official symbol/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | "What is {written by} of {Symphony No. 5}, which has {master} of {Eduard Marxsen} ?" | SELECT ?answer WHERE { wd:/Symphony No. 4/ wdt:/composer/ ?answer . ?answer wdt:/student of/ wd:/Eduard Marxsen/} |
Generate a SPARQL query that returns the answer of the following question. | Name a relativistic wave equation that contains the word " equation" in its name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/relativistic wave equation/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'equation')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the satellite that orbits Earth and has "international" in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/research station/ . ?sbj wdt:/parent astronomical body/ wd:/Earth/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'international')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is pronunciation audio made from pork ? | SELECT ?answer WHERE { wd:/pork meat/ wdt:/natural product of taxon/ ?X . ?X wdt:/pronunciation audio/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is tutor Andreas Vesalius' career? | SELECT ?answer WHERE { wd:/Andreas Vesalius/ wdt:/student of/ ?X . ?X wdt:/occupation/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which artistic genre has its introduction in 1968-1-1 by Alice Cooper? | SELECT ?answer WHERE { wd:/Alice Cooper/ wdt:/genre/ ?answer . ?answer wdt:/inception/ ?x FILTER(contains(YEAR(?x),'1968'))} |
Generate a SPARQL query that returns the answer of the following question. | Who is the patron saint of Paris? | select distinct ?obj where { wd:/Paris/ wdt:/patron saint/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the official language of the Parthian Empire? | select distinct ?obj where { wd:/Parthian Empire/ wdt:/official language/ ?obj . ?obj wdt:/instance of/ wd:/Wikimedia disambiguation page/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the record label and genre of Soundgarden? | SELECT ?ans_1 ?ans_2 WHERE { wd:/Soundgarden/ wdt:/record label/ ?ans_1 . wd:/Soundgarden/ wdt:/genre/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the historic county of England of the capital of Norwich and that contains the word norfolk in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/historic county of England/ . ?sbj wdt:/capital/ wd:/Norwich/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'norfolk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who discovered the plays of Emile Walteufel? | SELECT ?answer WHERE { wd:/Émile Waldteufel/ wdt:/instrument/ ?X . ?X wdt:/time of discovery or invention/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many software programs are written in PHP? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/depends on software/ wd:/PHP/ } |
Generate a SPARQL query that returns the answer of the following question. | where is the anatomical location and connects with Brain? | SELECT ?ans_1 ?ans_2 WHERE { wd:/brain/ wdt:/anatomical location/ ?ans_1 . wd:/brain/ wdt:/connects with/ ?ans_2 } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the course of Lord Strethcona`s Horse mascot from Royal Canadians? | SELECT ?answer WHERE { wd:/Lord Strathcona's Horse (Royal Canadians)/ wdt:/follows/ ?X . ?X wdt:/mascot/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is the Vicat softening point of poly(methl methacrylate) less than 92.8? | ASK WHERE { wd:/poly(methyl methacrylate)/ wdt:/Vicat softening point/ ?obj filter(?obj < 92.8) } |
Generate a SPARQL query that returns the answer of the following question. | What is the sister of the Johanna of Castile's child? | SELECT ?answer WHERE { wd:/Juana I of Castile/ wdt:/father/ ?X . ?X wdt:/sibling/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Who is {champion} of {nomination received} of {Lila Kedrova} ? | SELECT ?answer WHERE { wd:/Lila Kedrova/ wdt:/nominated for/ ?X . ?X wdt:/winner/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the Die Hard film series | select distinct ?obj where { wd:/Die Hard/ wdt:/part of the series/ ?obj . ?obj wdt:/instance of/ wd:/film series/ } |
Generate a SPARQL query that returns the answer of the following question. | When did Robert Mueller start as the United States Deputy Attorney General? | SELECT ?value WHERE { wd:/Robert Mueller/ p:/position held/ ?s . ?s ps:/position held/ wd:/United States Deputy Attorney General/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the twin city of Klaipeda, which has a size of 25.0? | SELECT ?answer WHERE { wd:/Klaipėda/ wdt:/twinned administrative body/ ?answer . ?answer wdt:/area/ ?x FILTER(contains(?x,'25.0'))} |
Generate a SPARQL query that returns the answer of the following question. | What is the interaction of antiparticle symmetric correspondence with Q48460 521.1? | SELECT ?answer WHERE { wd:/antiparticle/ wdt:/interaction/ ?answer . ?answer wdt:/Dewey Decimal Classification/ ?x FILTER(contains(?x,'521.1'))} |
Generate a SPARQL query that returns the answer of the following question. | When was Sasha Grey a member of aTelecine? | SELECT ?value WHERE { wd:/Sasha Grey/ p:/member of/ ?s . ?s ps:/member of/ wd:/aTelecine/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who was {educated at} {Maximilien de Robespierre} where {end time} is {1781-0-0} ? | SELECT ?obj WHERE { wd:/Maximilien Robespierre/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1781')) } |
Generate a SPARQL query that returns the answer of the following question. | Name a recurring event happening in the Pershing County that starts with letter B | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/recurring event/ . ?sbj wdt:/located in the administrative territorial entity/ wd:/Pershing County/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'b')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the religious concept for series of Rama? | select distinct ?obj where { wd:/Rama/ wdt:/part of the series/ ?obj . ?obj wdt:/instance of/ wd:/religious concept/ } |
Generate a SPARQL query that returns the answer of the following question. | Where did Nancy Pelosi major in political science ? | SELECT ?obj WHERE { wd:/Nancy Pelosi/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/academic major/ wd:/political science/ } |
Generate a SPARQL query that returns the answer of the following question. | DOES THE EFFECTIVE FIRING RNGE OF THE 70 K EQUALS 13120 | ASK WHERE { wd:/70-K/ wdt:/effective firing range/ ?obj filter(?obj = 13120) } |
Generate a SPARQL query that returns the answer of the following question. | Who is the father of David Foster? | select distinct ?obj where { wd:/David Foster/ wdt:/father/ ?obj . ?obj wdt:/instance of/ wd:/human/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the sculptors of Patrick's Staycation/ Walking the Plankton ? | SELECT ?answer WHERE { wd:/Patrick's Staycation/Walking the Plankton/ wdt:/part of the series/ ?X . ?X wdt:/creator/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the total imports of the Northern England equals to 72300000000? | ASK WHERE { wd:/Northern England/ wdt:/total imports/ ?obj filter(?obj = 72300000000) } |
Generate a SPARQL query that returns the answer of the following question. | which building has the highest cost? | select ?ent where { ?ent wdt:/instance of/ wd:/building/ . ?ent wdt:/cost/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Who is the teacher of the kids of Ali al-Hadi? | SELECT ?answer WHERE { wd:/Ali al-Hadi/ wdt:/student/ ?X . ?X wdt:/child/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is the medium mountain stage with the lowest event distance whose general classification of race participants is Nairo Quintana ? | select ?ent where { ?ent wdt:/instance of/ wd:/medium mountain stage/ . ?ent wdt:/instance of/57 ?obj . ?ent wdt:/general classification of race participants/ wd:/Nairo Quintana/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | In what territory was P. G. T. Beauregard born in St. Bernard Parish? | SELECT ?value WHERE { wd:/P. G. T. Beauregard/ p:/place of birth/ ?s . ?s ps:/place of birth/ wd:/St. Bernard Parish/ . ?s pq:/located in the administrative territorial entity/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What award did Jean Tirole receive in 1998? | SELECT ?obj WHERE { wd:/Jean Tirole/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1998')) } |
Generate a SPARQL query that returns the answer of the following question. | What award was given to Vittorio Gassman in 1975? | SELECT ?obj WHERE { wd:/Vittorio Gassman/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1975')) } |
Generate a SPARQL query that returns the answer of the following question. | How many genetic associations are there for chronic obstructive pulmonary disease? | SELECT (COUNT(?obj) AS ?value ) { wd:/chronic obstructive pulmonary disease/ wdt:/genetic association/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | When was Liv Tyler in a relationship with Joaquin Phoenix? | SELECT ?value WHERE { wd:/Liv Tyler/ p:/unmarried partner/ ?s . ?s ps:/unmarried partner/ wd:/Joaquin Phoenix/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the character role of Kate Walsh in Grey's Anatomy? | SELECT ?value WHERE { wd:/Grey's Anatomy/ p:/cast member/ ?s . ?s ps:/cast member/ wd:/Kate Walsh/ . ?s pq:/character role/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the top dog of Bill Shoemaker, whose top dog is Alvaro Pineda? | SELECT ?answer WHERE { wd:/Bill Shoemaker/ wdt:/award received/ ?answer . ?answer wdt:/winner/ wd:/Álvaro Pineda/} |
Generate a SPARQL query that returns the answer of the following question. | Was David Attenborough given name Frederick? | ASK WHERE { wd:/David Attenborough/ wdt:/given name/ wd:/Frederick/ } |
Generate a SPARQL query that returns the answer of the following question. | Is the minimum age for the Use of Mometasone Eluting Stent in Choanal Atresia equal to 8.0? | ASK WHERE { wd:/Use of Mometasone Eluting Stent in Choanal Atresia/ wdt:/maximum age/ ?obj filter(?obj = 8.0) } |
Generate a SPARQL query that returns the answer of the following question. | What was Patton Oswalt nominated for in 2011? | SELECT ?obj WHERE { wd:/Patton Oswalt/ 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. | When was Maximilian Schell nominated for Best Supporting Actor in the Academy Awards? | SELECT ?value WHERE { wd:/Maximilian Schell/ p:/nominated for/ ?s . ?s ps:/nominated for/ wd:/Academy Award for Best Supporting Actor/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What borders the Hamadan Province that has acreage totalling 29127.0? | SELECT ?answer WHERE { wd:/Hamadan Province/ wdt:/shares border with/ ?answer . ?answer wdt:/area/ ?x FILTER(contains(?x,'29137.0'))} |
Generate a SPARQL query that returns the answer of the following question. | Where did the M4 weapon originate from? | SELECT ?answer WHERE { wd:/M4/ wdt:/country of origin/ ?X . ?X wdt:/contains the administrative territorial entity/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | The Passion of Joan of Arc script was originally written in what language? | SELECT ?answer WHERE { wd:/The Passion of Joan of Arc/ wdt:/original language of film or TV show/ ?X . ?X wdt:/writing system/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How many capitals are in France? | SELECT (COUNT(?obj) AS ?value ) { wd:/France/ wdt:/capital/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | When did George R. R. Martin receive the Nebula Award for Best Novelette? | SELECT ?value WHERE { wd:/George R. R. Martin/ p:/award received/ ?s . ?s ps:/award received/ wd:/Nebula Award for Best Novelette/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What are the united states federal executive department which start with the letter d | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/United States federal executive department/ . ?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 the allegiance of Wernher von Braun at the beginning of 1937? | SELECT ?obj WHERE { wd:/Wernher von Braun/ p:/allegiance/ ?s . ?s ps:/allegiance/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1937')) } |
Generate a SPARQL query that returns the answer of the following question. | What are the character encoding which start with the letter Y | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/character encoding/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'y')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Is Myocardial infarction treated with the medication Labetalol and a Kazal-type serine protease inhibitor domain? | ASK WHERE { wd:/myocardial infarction/ wdt:/drug or therapy used for treatment/ wd:/labetalol/ . wd:/myocardial infarction/ wdt:/drug or therapy used for treatment/ wd:// } |
Generate a SPARQL query that returns the answer of the following question. | What is the deathplace of Philip II of Spain, that has the coordinates of 40.418888888889 -3.6919444444444? | SELECT ?answer WHERE { wd:/Philip II of Spain/ wdt:/place of death/ ?answer . ?answer wdt:/coordinate location/ ?x FILTER(contains(?x,'40.418888888889 -3.6919444444444'))} |
Generate a SPARQL query that returns the answer of the following question. | Does the scoeville grade of bell pepper equal to 0.0? | ASK WHERE { wd:/bell pepper/ wdt:/Scoville grade/ ?obj filter(?obj = 0.0) } |
Generate a SPARQL query that returns the answer of the following question. | Tell me business whose name has the word vodafone in it. | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/business/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vodafone')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Whom is the developer of the website for the University of North Carolina at Chapel Hill? | select distinct ?sbj where { ?sbj wdt:/developer/ wd:/University of North Carolina at Chapel Hill/ . ?sbj wdt:/instance of/ wd:/website/ } |