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 are the village which start with the letter w | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/village/ . ?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 is the child of the brother or sister of Herod Antipas? | SELECT ?answer WHERE { wd:/Herod Antipas/ wdt:/sibling/ ?X . ?X wdt:/father/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | which is award received of judith anderson that is point time is 1948? | SELECT ?obj WHERE { wd:/Judith Anderson/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'1948')) } |
Generate a SPARQL query that returns the answer of the following question. | Whom Baz Luhrmann married on January 26th 1997? | SELECT ?obj WHERE { wd:/Baz Luhrmann/ p:/spouse/ ?s . ?s ps:/spouse/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'1997')) } |
Generate a SPARQL query that returns the answer of the following question. | tell me instruction set architecture that designed by Intel that starts with x | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/instruction set architecture/ . ?sbj wdt:/designed by/ wd:/Intel/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'x')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Frank Gehry created what sculpture? | select distinct ?sbj where { ?sbj wdt:/creator/ wd:/Frank Gehry/ . ?sbj wdt:/instance of/ wd:/sculpture/ } |
Generate a SPARQL query that returns the answer of the following question. | Tell me nutrition those contains the word elible in their name | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/nutrition/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'edible')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What is the name of the steel bridge constructed by Irving Morrow which has the word "bridge" in its name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/steel bridge/ . ?sbj wdt:/structural engineer/ wd:/Irving Morrow/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'bridge')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who is the founder of Michelin Guide who is an alumna of Lycee Louis-le-Grand? | SELECT ?answer WHERE { wd:/Michelin Guide/ wdt:/founded by/ ?answer . ?answer wdt:/educated at/ wd:/Lycée Louis-le-Grand/} |
Generate a SPARQL query that returns the answer of the following question. | Where in Cincinnati is the Procter & Gamble headquarters located? | SELECT ?value WHERE { wd:/Procter & Gamble/ p:/headquarters location/ ?s . ?s ps:/headquarters location/ wd:/Cincinnati/ . ?s pq:// ?value} |
Generate a SPARQL query that returns the answer of the following question. | Who is the manufacturer and user of solar energy? | SELECT ?answer WHERE { wd:/solar energy/ wdt:/used by/ ?X . ?X wdt:/product or material produced/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which are the moons of the parent astronomical body of Pluto? | select distinct ?sbj where { ?sbj wdt:/parent astronomical body/ wd:/Pluto/ . ?sbj wdt:/instance of/ wd:/moon of Pluto/ } |
Generate a SPARQL query that returns the answer of the following question. | What amount of people worked on the film Catwoman? | SELECT (COUNT(?obj) AS ?value ) { wd:/Catwoman/ wdt:/present in work/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | How many connecting lines go to Glasgow Subway? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/connecting line/ wd:/Glasgow Subway/ } |
Generate a SPARQL query that returns the answer of the following question. | Why was Theodore von Kármán received the title of doctor honoris causa? | SELECT ?value WHERE { wd:/Theodore von Kármán/ p:/award received/ ?s . ?s ps:/award received/ wd:/honorary doctorate/ . ?s pq:/conferred by/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which is the flag carrier which contains the word qantas in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/flag carrier/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'qantas')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What are the incorporation which start with the letter g | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/incorporation/ . ?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. | What castle is located in Odessa? | select distinct ?obj where { wd:/Odesa/ wdt:/replaces/ ?obj . ?obj wdt:/instance of/ wd:/castle/ } |
Generate a SPARQL query that returns the answer of the following question. | What company was Steve Jobs a board member of? | select distinct ?sbj where { ?sbj wdt:/board member/ wd:/Steve Jobs/ . ?sbj wdt:/instance of/ wd:/enterprise/ } |
Generate a SPARQL query that returns the answer of the following question. | "What is {subject in} of {introduction to genetics}, which has {Universal Decimal Classification} is {575} ?" | SELECT ?answer WHERE { wd:/introduction to genetics/ wdt:/facet of/ ?answer . ?answer wdt:/Universal Decimal Classification/ ?x FILTER(contains(?x,'575'))} |
Generate a SPARQL query that returns the answer of the following question. | which magazine starts with z | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/magazine/ . ?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 gave the{deathdate} of {directed by} of {The World According to Garp} ? | SELECT ?answer WHERE { wd:/The World According to Garp/ wdt:/director/ ?X . ?X wdt:/director/0 ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which combustible powder has the least fusion enthalpy? | select ?ent where { ?ent wdt:/instance of/ wd:/combustible powder/ . ?ent wdt:/molar fusion enthalpy/ ?obj . ?ent wdt:/instance of/ wd:/combustible powder/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the administrative body of Qingdao that started in 2009-1-1 ? | SELECT ?obj WHERE { wd:/Qingdao/ p:/twinned administrative body/ ?s . ?s ps:/twinned administrative body/ ?obj . ?s pq:/start time/ ?x filter(contains(YEAR(?x),'2009')) } |
Generate a SPARQL query that returns the answer of the following question. | What is thealphabet language official of Tokugawa shogunate ? | SELECT ?answer WHERE { wd:/Tokugawa shogunate/ wdt:/official language/ ?X . ?X wdt:/writing system/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | How do you pronounce Georges Pompidous name? It's French. | SELECT ?obj WHERE { wd:/Georges Pompidou/ p:/pronunciation audio/ ?s . ?s ps:/pronunciation audio/ ?obj . ?s pq:/language of work or name/ wd:/French/ } |
Generate a SPARQL query that returns the answer of the following question. | who is film starring of un chien andalou that has his father is salvador dali i cusi | SELECT ?answer WHERE { wd:/Un Chien Andalou/ wdt:/cast member/ ?answer . ?answer wdt:/father/ wd:/Salvador Dalí i Cusí/} |
Generate a SPARQL query that returns the answer of the following question. | Which is {official language} of {basin countries} of {White Sea} ? | SELECT ?answer WHERE { wd:/White Sea/ wdt:/basin country/ ?X . ?X wdt:/official language/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What is found in species of the human genome that has the common name of Menneske? | SELECT ?answer WHERE { wd:/human genome/ wdt:/found in taxon/ ?answer . ?answer wdt:/taxon common name/ ?x FILTER(contains(?x,'Menneske'))} |
Generate a SPARQL query that returns the answer of the following question. | What is the indirect cause of the predecessor of street sweepers, janitors, and professionals who take care of buildings such as hospitals and schools? | SELECT ?answer WHERE { wd:/street sweeper/ wdt:/has contributing factor/ ?X . ?X wdt:/follows/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Name a famous invasion that starts with letter m | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/invasion/ . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'm')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Is the embodied energy of the glass more than 18.0? | ASK WHERE { wd:/glass/ wdt:/embodied energy/ ?obj filter(?obj > 18.0) } |
Generate a SPARQL query that returns the answer of the following question. | What is the used for treatment of the signs of rabies? | SELECT ?answer WHERE { wd:/rabies/ 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. | What musicals were written by Andrew Lloyd Webber? | select distinct ?sbj where { ?sbj wdt:/screenwriter/ wd:/Andrew Lloyd Webber/ . ?sbj wdt:/instance of/ wd:/dramatico-musical work/ } |
Generate a SPARQL query that returns the answer of the following question. | Name a profession mainly done by women that starts with letter D | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/profession/ . ?sbj wdt:/facet of/ wd:/female dominance/ . ?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 are the type of business entity which start with the letter S | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/type of business entity/ . ?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. | When did Lee de Forest divorce from Nora Stanton Blatch Barney? | SELECT ?value WHERE { wd:/Lee de Forest/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Nora Stanton Blatch Barney/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Did Ben_Kingsley get nominated for the BAFTA Award for Best Actor in a Leading Role and a Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie ? | ASK WHERE { wd:/Ben Kingsley/ wdt:/nominated for/ wd:/BAFTA Award for Best Actor in a Leading Role/ . wd:/Ben Kingsley/ wdt:/nominated for/ wd:/Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie/ } |
Generate a SPARQL query that returns the answer of the following question. | Who passed judgement on Jesus Christ? | select distinct ?sbj where { ?sbj wdt:/significant person/ wd:/Jesus/ . ?sbj wdt:/instance of/ wd:/judgment/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the diplomatic relation of Limp Bizkit's place of origin? | SELECT ?answer WHERE { wd:/Limp Bizkit/ wdt:/country of origin/ ?X . ?X wdt:/diplomatic relation/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | When did Thomas Young receive the award for Bakerian Lecture? | SELECT ?value WHERE { wd:/Thomas Young/ p:/award received/ ?s . ?s ps:/award received/ wd:/Bakerian Lecture/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What was Leicester population in the year 2014? | SELECT ?obj WHERE { wd:/Leicester/ p:/population/ ?s . ?s ps:/population/ ?obj . ?s pq:/point in time/ ?x filter(contains(YEAR(?x),'2014')) } |
Generate a SPARQL query that returns the answer of the following question. | Which school did John Roberts attend at the end of 1979? | SELECT ?obj WHERE { wd:/John Roberts/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1979')) } |
Generate a SPARQL query that returns the answer of the following question. | Who participated in the Babi Yar conflict in WW2? | SELECT ?answer WHERE { wd:/Babi Yar/ wdt:/conflict/ ?answer . ?answer wdt:/category of associated people/ wd:/Category:People of World War II/} |
Generate a SPARQL query that returns the answer of the following question. | Are the number of representatives in an organization/legislature of West Dorset equal to 1? | ASK WHERE { wd:/West Dorset/ wdt:/number of seats in legislature/ ?obj filter(?obj = 1) } |
Generate a SPARQL query that returns the answer of the following question. | tell me castle whose name has the word odenburg in it | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/castle/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'ödenburg')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Did Jerry Heller serve in the U.S. Army? | ASK WHERE { wd:/Jerry Heller/ wdt:/military branch/ wd:/United States Army/ } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the lighthouse range of Mickelsland lighthouse is greater than 1.6? | ASK WHERE { wd:/Mellankobben lighthouse/ wdt:/lighthouse range/ ?obj filter(?obj > 1.6) } |
Generate a SPARQL query that returns the answer of the following question. | Where did Arne Jacobsen die, which is also the county seat for Denmark? | SELECT ?answer WHERE { wd:/Arne Jacobsen/ wdt:/place of death/ ?answer . ?answer wdt:/capital of/ wd:/Denmark/} |
Generate a SPARQL query that returns the answer of the following question. | When did Humphry Davy receive the noble title of baronet? | SELECT ?value WHERE { wd:/Humphry Davy/ p:/noble title/ ?s . ?s ps:/noble title/ wd:/baronet/ . ?s pq:/start time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is David Ben - Gurion's Declaration of Independence? | select distinct ?sbj where { ?sbj wdt:/signatory/ wd:/David Ben-Gurion/ . ?sbj wdt:/instance of/ wd:/declaration of independence/ } |
Generate a SPARQL query that returns the answer of the following question. | Which port has the highest production rate? | select ?ent where { ?ent wdt:/instance of/ wd:/port/ . ?ent wdt:/production rate/ ?obj } ORDER BY DESC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | What is the { time point } for { Cathedral of Christ the Savior } { significant event } as the { beginning of construction }? | SELECT ?value WHERE { wd:/Cathedral of Christ the Saviour/ p:/significant event/ ?s . ?s ps:/significant event/ wd:/start of manufacturing or construction/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | What is the nominee for Diane Keaton whose winner is James Brolin? | SELECT ?answer WHERE { wd:/Diane Keaton/ wdt:/nominated for/ ?answer . ?answer wdt:/winner/ wd:/James Brolin/} |
Generate a SPARQL query that returns the answer of the following question. | When is the date of commencement of the book publish for Astronomy and Astrophysics | SELECT ?answer WHERE { wd:/Astronomy and Astrophysics/ wdt:/publisher/ ?X . ?X wdt:/inception/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which is the game of skill which contains the word tidllywinks in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/game of skill/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'tiddlywinks')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | How many connectors does Nintendo Switch have? | SELECT (COUNT(?obj) AS ?value ) { wd:/Nintendo Switch/ wdt:/connector/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What is the Wikimedia category for the list of films shot on location in Montreal? | select distinct ?obj where { wd:/Montreal/ wdt:/category for films shot at this location/ ?obj . ?obj wdt:/instance of/ wd:/Wikimedia category/ } |
Generate a SPARQL query that returns the answer of the following question. | What type of Austrian award has an elm? | SELECT ?obj WHERE { wd:/Ulmus/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/country/ wd:/Austria/ } |
Generate a SPARQL query that returns the answer of the following question. | Was Chess uses chessboard and game clock ? | ASK WHERE { wd:/chess/ wdt:/uses/ wd:/chessboard/ . wd:/chess/ wdt:/uses/ wd:/chess clock/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is {given name} of {G. M. Trevelyan} whose {series ordinal} is {1} ? | SELECT ?obj WHERE { wd:/G. M. Trevelyan/ p:/given name/ ?s . ?s ps:/given name/ ?obj . ?s pq:/series ordinal/ ?x filter(contains(?x,'1')) } |
Generate a SPARQL query that returns the answer of the following question. | Was Lionel Richie or Peter Michael Escovedo Nicole Richie father? | ASK WHERE { wd:/Nicole Richie/ wdt:/father/ wd:/Lionel Richie/ . wd:/Nicole Richie/ wdt:/father/ wd:/Peter Michael Escovedo/ } |
Generate a SPARQL query that returns the answer of the following question. | was ed gein's cause of death drowning? | ASK WHERE { wd:/Ed Gein/ wdt:/cause of death/ wd:/drowning/ } |
Generate a SPARQL query that returns the answer of the following question. | When was the relationship between Jenna Jameson and Brad Armstrong came to an end? | SELECT ?value WHERE { wd:/Jenna Jameson/ p:/spouse/ ?s . ?s ps:/spouse/ wd:/Brad Armstrong/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Which dependency located in Norway has the shortest coastline? | select ?ent where { ?ent wdt:/instance of/ wd:/dependency of Norway/ . ?ent wdt:/coastline/ ?obj . ?ent wdt:/located in the administrative territorial entity/ wd:/Norway/} ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | Does the height of the BMW i8 equal 1? | ASK WHERE { wd:/BMW i8/ wdt:/height/ ?obj filter(?obj = 1) } |
Generate a SPARQL query that returns the answer of the following question. | Is it true that the total debt of the Accor equals to -58000000? | ASK WHERE { wd:/Accor/ wdt:/total debt/ ?obj filter(?obj = -58000000) } |
Generate a SPARQL query that returns the answer of the following question. | how many cites are in a mathematical theory of communication? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/cites work/ wd:/A Mathematical Theory of Communication/ } |
Generate a SPARQL query that returns the answer of the following question. | How many non-binary genders are there? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/sex or gender/ wd:/non-binary/ } |
Generate a SPARQL query that returns the answer of the following question. | What was the ultimate goal of the 1953 British Expedition to Mount Everest? | SELECT ?obj WHERE { wd:/Mount Everest/ p:/significant event/ ?s . ?s ps:/significant event/ ?obj . ?s pq:/statement is subject of/ wd:/1953 British Mount Everest Expedition/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the scores measured by the intelligence quotient (I.Q.)? | SELECT (COUNT(?obj) AS ?value ) { wd:/intelligence quotient/ wdt:/measurement scale/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | What was Ellen Johnson Sirleaf famous for in regards to her gender? | SELECT ?obj WHERE { wd:/Ellen Johnson Sirleaf/ p:/significant event/ ?s . ?s ps:/significant event/ ?obj . ?s pq:/sex or gender/ wd:/male/ } |
Generate a SPARQL query that returns the answer of the following question. | Where was the accident located of Hugo Münsterberg ? | SELECT ?answer WHERE { wd:/Hugo Münsterberg/ wdt:/work location/ ?X . ?X wdt:/significant event/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | Which is the Radionavigation-satellite service that is a manifestation of satellite navigation system and contains the word global in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/radionavigation-satellite service/ . ?sbj wdt:/manifestation of/ wd:/satellite navigation system/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'global')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | On which year Ivan Bunin received Pushkin Prize? | SELECT ?value WHERE { wd:/Ivan Bunin/ p:/award received/ ?s . ?s ps:/award received/ wd:/Pushkin Prize/ . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | Is the number of victims of killer of the 1980 Ispaster attack equal to 4.8? | ASK WHERE { wd:/1980 Ispaster attack/ wdt:/number of victims of killer/ ?obj filter(?obj = 4.8) } |
Generate a SPARQL query that returns the answer of the following question. | How long was Ub Iwerks a teacher at Northeast High School | SELECT ?value WHERE { wd:/Ub Iwerks/ p:/educated at/ ?s . ?s ps:/educated at/ wd:/Northeast High School/ . ?s pq:/end time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | When did Albuquerque have a population of 558000? | SELECT ?value WHERE { wd:/Albuquerque/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'558000.0')) . ?s pq:/point in time/ ?value} |
Generate a SPARQL query that returns the answer of the following question. | For what subject did Beatrice Straight receive the 7th Tony Awards? | SELECT ?obj WHERE { wd:/Beatrice Straight/ p:/award received/ ?s . ?s ps:/award received/ ?obj . ?s pq:/statement is subject of/ wd:/7th Tony Awards/ } |
Generate a SPARQL query that returns the answer of the following question. | Which is the corporation for the products produced by Coca-Cola? | select distinct ?sbj where { ?sbj wdt:/product or material produced/ wd:/Coca-Cola/ . ?sbj wdt:/instance of/ wd:/corporation/ } |
Generate a SPARQL query that returns the answer of the following question. | How many players are drafted by the Chicago Bulls? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/drafted by/ wd:/Chicago Bulls/ } |
Generate a SPARQL query that returns the answer of the following question. | What is the field of action of the parent company of Claro? | SELECT ?answer WHERE { wd:/Claro/ wdt:/has subsidiary/ ?X . ?X wdt:/industry/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What opera was composed by Pyotr Ilyich Tchaikovsky? | select distinct ?sbj where { ?sbj wdt:/composer/ wd:/Pyotr Ilyich Tchaikovsky/ . ?sbj wdt:/instance of/ wd:/opera/ } |
Generate a SPARQL query that returns the answer of the following question. | who Wikimedia category for category of associated people of Bucharest? | select distinct ?obj where { wd:/Bucharest/ 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. | How many official residences are in Los Angeles? | SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:/official residence/ wd:/Los Angeles/ } |
Generate a SPARQL query that returns the answer of the following question. | What are the origins of lynching that were started in the Colony of Virginia? | SELECT ?answer WHERE { wd:/lynching/ wdt:/named after/ ?answer . ?answer wdt:/place of birth/ wd:/Colony of Virginia/} |
Generate a SPARQL query that returns the answer of the following question. | What is it? | SELECT ?answer WHERE { wd:/Sawda bint Zamʿa/ wdt:/ethnic group/ ?answer . ?answer wdt:/history of topic/ wd:/history of the Arabs/} |
Generate a SPARQL query that returns the answer of the following question. | What city is home to Singapore Airlines and has a medan household income of 32360.0? | SELECT ?answer WHERE { wd:/Singapore Airlines/ wdt:/headquarters location/ ?answer . ?answer wdt:/median income/ ?x FILTER(contains(?x,'32360.0'))} |
Generate a SPARQL query that returns the answer of the following question. | What is Sammantha Teuscher's line of work? | SELECT ?answer WHERE { wd:/Sammantha Teuscher/ wdt:/occupation/ ?X . ?X wdt:/field of this occupation/ ?answer} |
Generate a SPARQL query that returns the answer of the following question. | What are the cable channel which start with the letter o | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/cable channel/ . ?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. | What is the collection of astronomical objects with the smallest wavelength? | select ?ent where { ?ent wdt:/instance of/ wd:/astronomical catalog/ . ?ent wdt:/wavelength/ ?obj . ?ent wdt:/instance of/ wd:/astronomical catalog/. } ORDER BY ASC(?obj)LIMIT 5 |
Generate a SPARQL query that returns the answer of the following question. | MiG-21 has how many operators? | SELECT (COUNT(?obj) AS ?value ) { wd:/MiG-21/ wdt:/operator/ ?obj } |
Generate a SPARQL query that returns the answer of the following question. | Tell me the tungsten alloy that has an effect on tungsten carbide exposure and contains the word carbide in it's name? | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:// . ?sbj wdt:/has effect/ wd:/tungsten carbide exposure/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'carbide')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | Who is the artist of Saturday Fever: The Original Movie Sound Track whose discography link is Bee Gees discography link? | SELECT ?answer WHERE { wd:/Saturday Night Fever – The Original Movie Sound Track/ wdt:/performer/ ?answer . ?answer wdt:/discography/ wd:/Bee Gees discography/} |
Generate a SPARQL query that returns the answer of the following question. | Tell me the ship type whose name has the word whaleback in it | SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:/instance of/ wd:/ship type/ . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'whaleback')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 |
Generate a SPARQL query that returns the answer of the following question. | What are the colors of coal that have a sign language label of Csc-negre-spreadthesign.ogv? | SELECT ?answer WHERE { wd:/coal/ wdt:/color/ ?answer . ?answer wdt:/label in sign language/ ?x FILTER(contains(?x,'Csc-negre-spreadthesign.ogv'))} |
Generate a SPARQL query that returns the answer of the following question. | Mention the fictional human character murdered by Luke Skywalker | select distinct ?obj where { wd:/Luke Skywalker/ wdt:/killed by/ ?obj . ?obj wdt:/instance of/ wd:/fictional human/ } |
Generate a SPARQL query that returns the answer of the following question. | What education did Thelma Ritter get in 1922? | SELECT ?obj WHERE { wd:/Thelma Ritter/ p:/educated at/ ?s . ?s ps:/educated at/ ?obj . ?s pq:/end time/ ?x filter(contains(YEAR(?x),'1922')) } |
Generate a SPARQL query that returns the answer of the following question. | Which document is the main regulatory text of the Soviet Union? | select distinct ?obj where { wd:/Soviet Union/ wdt:/main regulatory text/ ?obj . ?obj wdt:/instance of/ wd:/document/ } |
Generate a SPARQL query that returns the answer of the following question. | What is informed by Saul Bellow whose nom-de-amore is Horatio? | SELECT ?answer WHERE { wd:/Saul Bellow/ wdt:/influenced by/ ?answer . ?answer wdt:/pseudonym/ ?x FILTER(contains(?x,'Horatio'))} |
Subsets and Splits