Skip to content
Snippets Groups Projects
Commit ef139068 authored by Sebastian Broman's avatar Sebastian Broman
Browse files

Added train test split

parent 8e2574c6
Branches
No related tags found
No related merge requests found
{"questions": [{"id": "1", "question": [{"language": "en", "string": "Who is the daughter of Bill Clinton married to?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { dbr:Bill_Clinton dbo:child ?child . ?child dbo:spouse ?uri . ?uri rdfs:label ?string }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Marc_Mezvinsky"}}, "entities": [{"URI": "http://dbpedia.org/resource/Bill_Clinton", "surface form": "Bill Clinton"}], "relations": [{"URI": "http://dbpedia.org/ontology/child", "surface form": "daughter"}, {"URI": "http://dbpedia.org/ontology/spouse", "surface form": "married"}]}, {"id": "6", "question": [{"language": "en", "string": "Who created Goofy?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Goofy> <http://dbpedia.org/ontology/creator> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bob_Ogle"}}, "entities": [{"URI": "http://dbpedia.org/resource/Goofy", "surface form": "Goofy"}], "relations": [{"URI": "http://dbpedia.org/ontology/creator", "surface form": "created"}]}, {"id": "7", "question": [{"language": "en", "string": "Which museum exhibits The Scream by Munch?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Scream dbo:museum ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/National_Gallery_(Norway)"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Scream", "surface form": "The Scream by Munch"}], "relations": [{"URI": "http://dbpedia.org/ontology/museum", "surface form": "museum"}, {"URI": "http://dbpedia.org/ontology/sport", "surface form": "exhibits"}]}, {"id": "8", "question": [{"language": "en", "string": "In which country is the Limerick Lake?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Limerick_Lake dbo:country ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Canada"}}, "entities": [{"URI": "http://dbpedia.org/resource/Limerick_Lake", "surface form": "Limerick Lake"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": "country"}]}, {"id": "10", "question": [{"language": "en", "string": "Which mountain is the highest after the Annapurna?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Annapurna> <http://dbpedia.org/ontology/elevation> ?elevation . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Mountain> . ?uri <http://dbpedia.org/ontology/elevation> ?otherelevation . FILTER (?otherelevation < ?elevation) . } ORDER BY DESC(?otherelevation) OFFSET 0 LIMIT 1 "}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Gasherbrum_I"}}, "entities": [{"URI": "http://dbpedia.org/resource/Annapurna_I_Middle_Peak", "surface form": "Annapurna"}], "relations": [{"URI": "http://dbpedia.org/ontology/mountainRange", "surface form": "mountain"}, {"URI": "http://dbpedia.org/ontology/elevation", "surface form": "highest"}]}, {"id": "11", "question": [{"language": "en", "string": "In which films directed by Garry Marshall was Julia Roberts starring?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Film> ; <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Julia_Roberts> ; <http://dbpedia.org/ontology/director> <http://dbpedia.org/resource/Garry_Marshall> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Valentine's_Day_(2010_film)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Garry_Marshall", "surface form": "Garry Marshall was Julia Roberts"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfFilms", "surface form": "films"}, {"URI": "http://dbpedia.org/ontology/president", "surface form": "directed"}, {"URI": "http://dbpedia.org/ontology/starring", "surface form": "starring"}]}, {"id": "17", "question": [{"language": "en", "string": "What is the area code of Berlin?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { res:Berlin dbo:areaCode ?string }"}, "answers": {"string": {"type": "literal", "value": "030"}}, "entities": [{"URI": "http://dbpedia.org/resource/Berlin", "surface form": "Berlin"}], "relations": [{"URI": "http://dbpedia.org/ontology/areaCode", "surface form": "area code"}]}, {"id": "20", "question": [{"language": "en", "string": "Give me all soccer clubs in Spain."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/SoccerClub> { ?uri <http://dbpedia.org/ontology/ground> <http://dbpedia.org/resource/Spain> } UNION { ?uri <http://dbpedia.org/property/ground> ?ground FILTER regex(?ground, \"Spain\") } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/And\u00e9s_CF"}}, "entities": [{"URI": "http://dbpedia.org/resource/Spain", "surface form": "Spain"}], "relations": [{"URI": "http://dbpedia.org/ontology/clubsRecordGoalscorer", "surface form": "soccer clubs"}]}, {"id": "23", "question": [{"language": "en", "string": "Which telecommunications organizations are located in Belgium?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { ?uri a <http://dbpedia.org/ontology/Organisation> { ?uri <http://dbpedia.org/ontology/industry> <http://dbpedia.org/resource/Telecommunication> } UNION { ?uri <http://dbpedia.org/property/industry> ?industry FILTER regex(?industry, \"Telecommunications\") } { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Belgium> } UNION { ?uri <http://dbpedia.org/property/locationCountry> \"Belgium\"@en } }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "7"}}, "entities": [{"URI": "http://dbpedia.org/resource/Complex_organizations", "surface form": "telecommunications organizations"}, {"URI": "http://dbpedia.org/resource/Belgium", "surface form": "Belgium"}], "relations": [{"URI": "http://dbpedia.org/ontology/place", "surface form": "located"}]}, {"id": "26", "question": [{"language": "en", "string": "Give me the homepage of Forbes."}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?string WHERE { res:Forbes foaf:homepage ?string }"}, "answers": {"string": {"type": "uri", "value": "https://www.forbes.com/%7Cforbes.com"}}, "entities": [{"URI": "http://dbpedia.org/resource/Forbes", "surface form": "Forbes"}], "relations": []}, {"id": "28", "question": [{"language": "en", "string": "Who was the wife of President Lincoln?"}], "query": {"sparql": "PREFIX dbr: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { dbr:Abraham_Lincoln onto:spouse ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mary_Todd_Lincoln"}}, "entities": [{"URI": "http://dbpedia.org/resource/USS_President_Lincoln_(1907)", "surface form": "President Lincoln"}], "relations": [{"URI": "http://dbpedia.org/ontology/spouse", "surface form": "wife"}]}, {"id": "34", "question": [{"language": "en", "string": "Which actors were born in Germany?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Actor> { ?uri <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/resource/Germany> } UNION { ?uri <http://dbpedia.org/ontology/birthPlace> ?place . ?place <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Germany> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Friederike_Caroline_Neuber"}}, "entities": [{"URI": "http://dbpedia.org/resource/Germany", "surface form": "Germany"}], "relations": [{"URI": "http://dbpedia.org/ontology/award", "surface form": "actors"}, {"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "36", "question": [{"language": "en", "string": "Which people were born in Heraklion?"}], "query": {"sparql": "PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Person ; onto:birthPlace <http://dbpedia.org/resource/Heraklion>. }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Anastasios_Triantafyllou"}}, "entities": [{"URI": "http://dbpedia.org/resource/Heraklion", "surface form": "Heraklion"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "39", "question": [{"language": "en", "string": "Which software has been published by Mean Hamster Software?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Software { ?uri prop:publisher \"Mean Hamster Software\"@en } UNION { ?uri onto:publisher res:Mean_Hamster_Software } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Riven"}}, "entities": [{"URI": "http://dbpedia.org/resource/Software", "surface form": "software"}, {"URI": "http://dbpedia.org/resource/Mean_Hamster_Software", "surface form": "Mean Hamster Software"}], "relations": [{"URI": "http://dbpedia.org/ontology/publisher", "surface form": "published"}]}, {"id": "40", "question": [{"language": "en", "string": "Who owns Aldi?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:Aldi dbp:founders ?uri }"}, "answers": {"uri": {"type": "literal", "xml:lang": "en", "value": "Karl and Theo Albrecht"}}, "entities": [{"URI": "http://dbpedia.org/resource/Aldi", "surface form": "Aldi"}], "relations": [{"URI": "http://dbpedia.org/ontology/family", "surface form": "owns"}]}, {"id": "43", "question": [{"language": "en", "string": "Which country has the most official languages?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Country> . ?uri <http://dbpedia.org/property/officialLanguages> ?language . } ORDER BY DESC(COUNT(?language)) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/South_Africa"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": "country"}, {"URI": "http://dbpedia.org/ontology/incumbent", "surface form": "official languages"}]}, {"id": "47", "question": [{"language": "en", "string": "Who wrote the book The pillars of the Earth?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri WHERE { res:The_Pillars_of_the_Earth dbo:author ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ken_Follett"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Pillars_of_the_Earth", "surface form": "The Pillars of the Earth"}], "relations": [{"URI": "http://dbpedia.org/ontology/author", "surface form": "wrote"}]}, {"id": "49", "question": [{"language": "en", "string": "Give me all soccer clubs in the Premier League."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/SoccerClub> ; <http://dbpedia.org/ontology/league> <http://dbpedia.org/resource/Premier_League> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/2010\u201311_Tottenham_Hotspur_F.C._season"}}, "entities": [{"URI": "http://dbpedia.org/resource/Premier_League", "surface form": "Premier League"}], "relations": [{"URI": "http://dbpedia.org/ontology/clubsRecordGoalscorer", "surface form": "soccer clubs"}]}, {"id": "50", "question": [{"language": "en", "string": "When was Capcom founded?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/>PREFIX res: <http://dbpedia.org/resource/>SELECT DISTINCT ?date WHERE { res:Capcom dbo:foundingDate ?date .}"}, "answers": {"date": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1979-05-30"}}, "entities": [{"URI": "http://dbpedia.org/resource/Capcom", "surface form": "Capcom"}], "relations": [{"URI": "http://dbpedia.org/ontology/foundingYear", "surface form": "founded"}]}, {"id": "52", "question": [{"language": "en", "string": "What is the highest mountain?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Mountain> ; <http://dbpedia.org/ontology/elevation> ?elevation } ORDER BY DESC(?elevation) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pico_Alto"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/highestMountain", "surface form": "highest mountain"}]}, {"id": "55", "question": [{"language": "en", "string": "When was Alberta admitted as province?"}], "query": {"sparql": "SELECT DISTINCT ?date WHERE { <http://dbpedia.org/resource/Alberta> <http://dbpedia.org/property/admittancedate> ?date }"}, "answers": {"date": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1905-09-01"}}, "entities": [{"URI": "http://dbpedia.org/resource/Alberta", "surface form": "Alberta"}], "relations": [{"URI": "http://dbpedia.org/property/known", "surface form": "admitted"}, {"URI": "http://dbpedia.org/ontology/province", "surface form": "province"}]}, {"id": "57", "question": [{"language": "en", "string": "Give me a list of all trumpet players that were bandleaders."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:occupation res:Bandleader ; dbo:instrument res:Trumpet }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Danny_Davis_(country_musician)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Trumpet", "surface form": "trumpet players"}, {"URI": "http://dbpedia.org/resource/List_of_American_big_band_bandleaders", "surface form": "bandleaders"}], "relations": []}, {"id": "61", "question": [{"language": "en", "string": "Who is the youngest player in the Premier League?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:team ?team . ?league dbo:league res:Premier_League . ?league dbo:team ?team . ?uri dbo:birthDate ?date } ORDER BY DESC(?date) LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ben_Doak"}}, "entities": [{"URI": "http://dbpedia.org/resource/Premier_League", "surface form": "Premier League"}], "relations": [{"URI": "http://dbpedia.org/ontology/participant", "surface form": "player"}]}, {"id": "62", "question": [{"language": "en", "string": "Give me all members of Prodigy."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Prodigy dbo:bandMember ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Maxim_(musician)"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Prodigy", "surface form": "Prodigy"}], "relations": [{"URI": "http://dbpedia.org/ontology/bandMember", "surface form": "members"}]}, {"id": "66", "question": [{"language": "en", "string": "How tall is Michael Jordan?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Michael_Jordan dbo:height ?num }"}, "answers": {"num": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "1.9812"}}, "entities": [{"URI": "http://dbpedia.org/resource/Michael_Jordan", "surface form": "Michael Jordan"}], "relations": [{"URI": "http://dbpedia.org/ontology/height", "surface form": "tall"}]}, {"id": "67", "question": [{"language": "en", "string": "What is the capital of Canada?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Canada dbo:capital ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ottawa"}}, "entities": [{"URI": "http://dbpedia.org/resource/Canada", "surface form": "Canada"}], "relations": [{"URI": "http://dbpedia.org/ontology/capital", "surface form": "capital"}]}, {"id": "68", "question": [{"language": "en", "string": "Who is the governor of Texas?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?string WHERE { res:Texas dbp:governor ?string }"}, "answers": {"string": {"type": "uri", "value": "http://dbpedia.org/resource/Greg_Abbott"}}, "entities": [{"URI": "http://dbpedia.org/resource/Texas", "surface form": "Texas"}], "relations": [{"URI": "http://dbpedia.org/ontology/governor", "surface form": "governor"}]}, {"id": "70", "question": [{"language": "en", "string": "How many official languages are spoken on the Seychelles?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/>PREFIX res: <http://dbpedia.org/resource/>SELECT COUNT(DISTINCT ?x) WHERE { res:Seychelles dbo:officialLanguage ?x .}"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "3"}}, "entities": [{"URI": "http://dbpedia.org/resource/Seychelles", "surface form": "Seychelles"}], "relations": [{"URI": "http://dbpedia.org/ontology/officialLanguage", "surface form": "official languages"}, {"URI": "http://dbpedia.org/ontology/spokenIn", "surface form": "spoken"}]}, {"id": "71", "question": [{"language": "en", "string": "Give me all movies directed by Francis Ford Coppola."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Film ; dbo:director res:Francis_Ford_Coppola }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dementia_13"}}, "entities": [{"URI": "http://dbpedia.org/resource/Francis_Ford_Coppola", "surface form": "Francis Ford Coppola"}], "relations": [{"URI": "http://dbpedia.org/ontology/film", "surface form": "movies"}, {"URI": "http://dbpedia.org/ontology/president", "surface form": "directed"}]}, {"id": "73", "question": [{"language": "en", "string": "What is the birth name of Angela Merkel?"}], "query": {"sparql": "SELECT DISTINCT ?string WHERE { <http://dbpedia.org/resource/Angela_Merkel> <http://dbpedia.org/property/birthName> ?string }"}, "answers": {"string": {"type": "literal", "xml:lang": "en", "value": "Angela Dorothea Kasner"}}, "entities": [{"URI": "http://dbpedia.org/resource/Angela_Merkel", "surface form": "Angela Merkel"}], "relations": [{"URI": "http://dbpedia.org/property/birthName", "surface form": "birth name"}]}, {"id": "78", "question": [{"language": "en", "string": "Give me all companies in Munich."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Company> { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Munich> } UNION { ?uri <http://dbpedia.org/ontology/headquarter> <http://dbpedia.org/resource/Munich> } UNION { ?uri <http://dbpedia.org/ontology/locationCity> <http://dbpedia.org/resource/Munich> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Allianz"}}, "entities": [{"URI": "http://dbpedia.org/resource/Companies_listed_on_the_New_York_Stock_Exchange_(J)", "surface form": "companies"}, {"URI": "http://dbpedia.org/resource/Munich", "surface form": "Munich"}], "relations": []}, {"id": "79", "question": [{"language": "en", "string": "List all boardgames by GMT."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri WHERE { ?uri dbo:publisher res:GMT_Games }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fields_of_Fire_(game)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Generic_Mapping_Tools", "surface form": "GMT"}, {"URI": "http://dbpedia.org/resource/Belarus", "surface form": "Boardgames by"}], "relations": []}, {"id": "81", "question": [{"language": "en", "string": "Give me all Frisian islands that belong to the Netherlands."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:WikicatFrisianIslands ; dbo:country res:Netherlands }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Frisian_Islands"}}, "entities": [{"URI": "http://dbpedia.org/resource/Frisian_Islands", "surface form": "Frisian islands"}, {"URI": "http://dbpedia.org/resource/Netherlands_Antilles_at_the_2007_Pan_American_Games", "surface form": "Netherlands"}], "relations": [{"URI": "http://dbpedia.org/property/rank", "surface form": "belong"}]}, {"id": "85", "question": [{"language": "en", "string": "Which U.S. states are in the same timezone as Utah?"}], "query": {"sparql": "PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { res:Utah dbp:timezone ?x . ?uri rdf:type yago:WikicatStatesOfTheUnitedStates ; dbp:timezone ?x FILTER ( ?uri != res:Utah ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Montana"}}, "entities": [{"URI": "http://dbpedia.org/resource/Usk,_Washington", "surface form": "US"}, {"URI": "http://dbpedia.org/resource/Utah", "surface form": "Utah"}], "relations": [{"URI": "http://dbpedia.org/ontology/timeZone", "surface form": "timezone"}]}, {"id": "88", "question": [{"language": "en", "string": "Give me all Argentine films."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { { ?uri rdf:type yago:ArgentineFilms } UNION { ?uri rdf:type dbo:Film { ?uri dbo:country res:Argentina } UNION { ?uri dbp:country \"Argentina\"@en } } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/All\u00e1_en_el_Norte"}}, "entities": [{"URI": "http://dbpedia.org/resource/Argentina", "surface form": "Argentine films"}, {"URI": "http://dbpedia.org/resource/Lists_of_Argentine_films", "surface form": "Argentine films"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "89", "question": [{"language": "en", "string": "Give me all launch pads operated by NASA."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:LaunchPad ; dbo:operator res:NASA }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Wallops_Flight_Facility_Launch_Area_3"}}, "entities": [{"URI": "http://dbpedia.org/resource/NASA", "surface form": "NASA"}], "relations": [{"URI": "http://dbpedia.org/ontology/institution", "surface form": "launch"}, {"URI": "http://dbpedia.org/ontology/operatedBy", "surface form": "pads operated"}]}, {"id": "90", "question": [{"language": "en", "string": "Which ships were called after Benjamin Franklin?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/property/shipNamesake> <http://dbpedia.org/resource/Benjamin_Franklin> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ben_Franklin_(PX-15)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Benjamin_Franklin", "surface form": "Benjamin Franklin"}], "relations": [{"URI": "http://dbpedia.org/ontology/shipBeam", "surface form": "ships"}, {"URI": "http://dbpedia.org/property/nickname", "surface form": "called"}]}, {"id": "92", "question": [{"language": "en", "string": "How many children did Benjamin Franklin have?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { res:Benjamin_Franklin dbo:child ?uri }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "3"}}, "entities": [{"URI": "http://dbpedia.org/resource/Benjamin_Franklin", "surface form": "Benjamin Franklin"}], "relations": [{"URI": "http://dbpedia.org/property/children", "surface form": "children"}]}, {"id": "95", "question": [{"language": "en", "string": "Who was called Scarface?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?uri WHERE { ?uri dbo:alias ?alias FILTER contains(lcase(?alias), \"scarface\") }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/%22Scarface%22_John_Williams"}}, "entities": [{"URI": "http://dbpedia.org/resource/Scarface", "surface form": "Scarface"}], "relations": [{"URI": "http://dbpedia.org/ontology/alias", "surface form": "called"}]}, {"id": "98", "question": [{"language": "en", "string": "Who created the comic Captain America?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Captain_America dbo:creator ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jack_Kirby"}}, "entities": [{"URI": "http://dbpedia.org/resource/Captain_Comic", "surface form": "comic Captain America"}], "relations": [{"URI": "http://dbpedia.org/ontology/creator", "surface form": "created"}]}, {"id": "100", "question": [{"language": "en", "string": "What is the largest city in Australia?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Australia dbo:largestCity ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Sydney"}}, "entities": [{"URI": "http://dbpedia.org/resource/Australia", "surface form": "Australia"}], "relations": [{"URI": "http://dbpedia.org/ontology/largestCity", "surface form": "largest city"}]}, {"id": "102", "question": [{"language": "en", "string": "Where is the residence of the prime minister of Spain?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Prime_Minister_of_Spain> <http://dbpedia.org/property/residence> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Palacio_de_la_Moncloa"}}, "entities": [{"URI": "http://dbpedia.org/resource/Spain", "surface form": "Spain"}], "relations": [{"URI": "http://dbpedia.org/ontology/residence", "surface form": "residence"}, {"URI": "http://dbpedia.org/ontology/primeMinister", "surface form": "prime minister"}]}, {"id": "103", "question": [{"language": "en", "string": "Show me all songs from Bruce Springsteen released between 1980 and 1990."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Song> . ?uri <http://dbpedia.org/ontology/artist> <http://dbpedia.org/resource/Bruce_Springsteen> . ?uri <http://dbpedia.org/ontology/releaseDate> ?date . FILTER (?date >= '1980-01-01'^^xsd:date && ?date <= '1990-12-31'^^xsd:date) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Johnny_99_(song)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Bruce_Springsteen", "surface form": "Bruce Springsteen"}, {"URI": "http://dbpedia.org/resource/1980", "surface form": "1980"}, {"URI": "http://dbpedia.org/resource/1990", "surface form": "1990"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}, {"URI": "http://dbpedia.org/ontology/anthem", "surface form": "songs"}, {"URI": "http://dbpedia.org/property/released", "surface form": "released"}]}, {"id": "105", "question": [{"language": "en", "string": "Who painted The Storm on the Sea of Galilee?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:The_Storm_on_the_Sea_of_Galilee dbo:author ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rembrandt"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Storm_on_the_Sea_of_Galilee", "surface form": "The Storm on the Sea of Galilee"}], "relations": [{"URI": "http://dbpedia.org/property/artist", "surface form": "painted"}]}, {"id": "106", "question": [{"language": "en", "string": "For which label did Elvis record his first album?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?x rdf:type dbo:Album ; dbo:artist res:Elvis_Presley ; dbo:releaseDate ?y ; dbo:recordLabel ?uri } ORDER BY ASC(?y) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/RCA_Records"}}, "entities": [{"URI": "http://dbpedia.org/resource/Elvis_(1973_album)", "surface form": "Elvis"}], "relations": [{"URI": "http://dbpedia.org/property/label", "surface form": "label"}, {"URI": "http://dbpedia.org/ontology/recordLabel", "surface form": "record"}, {"URI": "http://dbpedia.org/ontology/album", "surface form": "album"}]}, {"id": "108", "question": [{"language": "en", "string": "Which countries have places with more than two caves?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?cave rdf:type dbo:Cave ; dbo:location ?uri . ?uri rdf:type dbo:Country } GROUP BY ?uri HAVING ( COUNT(?cave) > 2 )"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Georgia_(country)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Countries_of_the_United_Kingdom", "surface form": "countries"}, {"URI": "http://dbpedia.org/resource/Caves_of_Aggtelek_Karst_and_Slovak_Karst", "surface form": "caves"}], "relations": [{"URI": "http://dbpedia.org/ontology/place", "surface form": "places"}]}, {"id": "109", "question": [{"language": "en", "string": "Give me the capitals of all countries in Africa."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dct: <http://purl.org/dc/terms/> SELECT DISTINCT ?uri WHERE { ?country dct:subject dbc:Countries_in_Africa ; dbo:capital ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buea"}}, "entities": [{"URI": "http://dbpedia.org/resource/Countries_of_the_United_Kingdom", "surface form": "countries"}, {"URI": "http://dbpedia.org/resource/Africa", "surface form": "Africa"}], "relations": [{"URI": "http://dbpedia.org/ontology/principal", "surface form": "capitals"}]}, {"id": "110", "question": [{"language": "en", "string": "How many employees does IBM have?"}], "query": {"sparql": "SELECT DISTINCT ?number WHERE { <http://dbpedia.org/resource/IBM> <http://dbpedia.org/ontology/numberOfEmployees> ?number }"}, "answers": {"number": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "282100"}}, "entities": [{"URI": "http://dbpedia.org/resource/IBM", "surface form": "IBM"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfEmployees", "surface form": "employees"}]}, {"id": "111", "question": [{"language": "en", "string": "Which states border Illinois?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Illinois> <http://dbpedia.org/property/borderingstates> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kentucky"}}, "entities": [{"URI": "http://dbpedia.org/resource/Illinois", "surface form": "Illinois"}], "relations": [{"URI": "http://dbpedia.org/ontology/border", "surface form": "border"}]}, {"id": "113", "question": [{"language": "en", "string": "What is the highest mountain in Australia?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Mountain ; dbo:locatedInArea res:Australia ; dbo:elevation ?elevation } ORDER BY DESC(?elevation) LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mawson_Peak"}}, "entities": [{"URI": "http://dbpedia.org/resource/Australia", "surface form": "Australia"}], "relations": [{"URI": "http://dbpedia.org/property/elevation", "surface form": "highest mountain"}]}, {"id": "114", "question": [{"language": "en", "string": "Give me all companies in the advertising industry."}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { ?uri a <http://dbpedia.org/ontology/Company> { ?uri <http://dbpedia.org/ontology/industry> <http://dbpedia.org/resource/Advertising> } UNION { ?uri <http://dbpedia.org/ontology/industry> ?industry FILTER regex(?industry, \"advertising\", \"i\") } }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "361"}}, "entities": [{"URI": "http://dbpedia.org/resource/Companies_listed_on_the_New_York_Stock_Exchange_(J)", "surface form": "companies"}], "relations": [{"URI": "http://dbpedia.org/property/industry", "surface form": "advertising industry"}]}, {"id": "115", "question": [{"language": "en", "string": "Who was the wife of U.S. president Lincoln?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Abraham_Lincoln dbo:spouse ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mary_Todd_Lincoln"}}, "entities": [{"URI": "http://dbpedia.org/resource/Abraham_Lincoln", "surface form": "Lincoln"}], "relations": [{"URI": "http://dbpedia.org/ontology/spouse", "surface form": "wife"}]}, {"id": "116", "question": [{"language": "en", "string": "Give me all video games published by Mean Hamster Software."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:VideoGame ; dbo:publisher res:Mean_Hamster_Software }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Riven"}}, "entities": [{"URI": "http://dbpedia.org/resource/Mean_Hamster_Software", "surface form": "Mean Hamster Software"}], "relations": [{"URI": "http://dbpedia.org/ontology/film", "surface form": "video games"}, {"URI": "http://dbpedia.org/ontology/publisher", "surface form": "published"}]}, {"id": "117", "question": [{"language": "en", "string": "Which languages are spoken in Estonia?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/spokenIn> <http://dbpedia.org/resource/Estonia> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/V\u00f5ro_language"}}, "entities": [{"URI": "http://dbpedia.org/resource/Estonia", "surface form": "Estonia"}], "relations": [{"URI": "http://dbpedia.org/ontology/language", "surface form": "languages"}, {"URI": "http://dbpedia.org/ontology/spokenIn", "surface form": "spoken"}]}, {"id": "118", "question": [{"language": "en", "string": "How many films did Hal Roach produce?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { ?uri <http://dbpedia.org/ontology/producer> <http://dbpedia.org/resource/Hal_Roach> }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "539"}}, "entities": [{"URI": "http://dbpedia.org/resource/Hal_Roach", "surface form": "Hal Roach"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfFilms", "surface form": "films"}, {"URI": "http://dbpedia.org/ontology/producer", "surface form": "produce"}]}, {"id": "120", "question": [{"language": "en", "string": "Which airports are located in California, USA?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Airport> { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/California> } UNION { ?uri <http://dbpedia.org/ontology/city> <http://dbpedia.org/resource/California> } UNION { ?uri <http://dbpedia.org/ontology/city> ?city . ?city <http://dbpedia.org/ontology/isPartOf> <http://dbpedia.org/resource/California> } UNION { ?uri <http://dbpedia.org/ontology/operator> <http://dbpedia.org/resource/California> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Amboy_Airfield"}}, "entities": [{"URI": "http://dbpedia.org/resource/United_States", "surface form": "USA"}, {"URI": "http://dbpedia.org/resource/California,_Cincinnati", "surface form": "California,"}], "relations": [{"URI": "http://dbpedia.org/ontology/targetAirport", "surface form": "airports"}, {"URI": "http://dbpedia.org/ontology/place", "surface form": "located"}]}, {"id": "121", "question": [{"language": "en", "string": "Give me all Canadian Grunge record labels."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:RecordLabel ; dbo:genre res:Grunge ; dbo:country res:Canada }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Murderecords"}}, "entities": [{"URI": "http://dbpedia.org/resource/Canada", "surface form": "Canadian Grunge record labels"}, {"URI": "http://dbpedia.org/resource/Canadian_independent_record_labels", "surface form": "Canadian Grunge record labels"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "122", "question": [{"language": "en", "string": "Give me all movies with Tom Cruise."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Film> ; <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Tom_Cruise> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/All_the_Right_Moves_(film)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Tom_Cruise", "surface form": "Tom Cruise"}], "relations": [{"URI": "http://dbpedia.org/ontology/film", "surface form": "movies"}]}, {"id": "125", "question": [{"language": "en", "string": "Who developed Minecraft?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Minecraft> <http://dbpedia.org/ontology/developer> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mojang_Studios"}}, "entities": [{"URI": "http://dbpedia.org/resource/Minecraft", "surface form": "Minecraft"}], "relations": [{"URI": "http://dbpedia.org/ontology/developer", "surface form": "developed"}]}, {"id": "126", "question": [{"language": "en", "string": "List all games by GMT."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:publisher res:GMT_Games }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Fields_of_Fire_(game)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Generic_Mapping_Tools", "surface form": "GMT"}], "relations": [{"URI": "http://dbpedia.org/ontology/games", "surface form": "games"}]}, {"id": "127", "question": [{"language": "en", "string": "In which U.S. state is Fort Knox located?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:Fort_Knox dbo:location ?uri . ?uri dbo:country res:United_States }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kentucky"}}, "entities": [{"URI": "http://dbpedia.org/resource/United_States", "surface form": "U.S."}, {"URI": "http://dbpedia.org/resource/Fort_Knox", "surface form": "Fort Knox"}], "relations": [{"URI": "http://dbpedia.org/property/location", "surface form": "located"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": "state"}]}, {"id": "129", "question": [{"language": "en", "string": "Give me all actors starring in Last Action Hero."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Last_Action_Hero dbo:starring ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Art_Carney"}}, "entities": [{"URI": "http://dbpedia.org/resource/Last_Action_Hero", "surface form": "Last Action Hero"}], "relations": [{"URI": "http://dbpedia.org/ontology/starring", "surface form": "starring"}]}, {"id": "130", "question": [{"language": "en", "string": "Who wrote the book Les Piliers de la terre?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Pillars_of_the_Earth dbo:author ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ken_Follett"}}, "entities": [{"URI": "http://dbpedia.org/resource/La_Terre", "surface form": "book Les Piliers de la terre"}], "relations": [{"URI": "http://dbpedia.org/ontology/author", "surface form": "wrote"}]}, {"id": "131", "question": [{"language": "en", "string": "Give me all taikonauts."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { { ?uri a <http://dbpedia.org/ontology/Astronaut> ; <http://dbpedia.org/ontology/nationality> <http://dbpedia.org/resource/People's_Republic_of_China> } UNION { ?uri a <http://dbpedia.org/ontology/Astronaut> ; <http://dbpedia.org/ontology/nationality> <http://dbpedia.org/resource/China> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tang_Hongbo"}}, "entities": [{"URI": "http://dbpedia.org/resource/Astronaut", "surface form": "Taikonauts"}], "relations": []}, {"id": "134", "question": [{"language": "en", "string": "How many programming languages are there?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { ?uri a <http://dbpedia.org/ontology/ProgrammingLanguage> }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "3328"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/programmingLanguage", "surface form": "programming languages"}]}, {"id": "136", "question": [{"language": "en", "string": "When was Carlo Giuliani shot?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT xsd:date(?date) WHERE { res:Death_of_Carlo_Giuliani dbo:deathDate ?date }"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "2001-07-20"}}, "entities": [{"URI": "http://dbpedia.org/resource/Carlo_Giuliani,_Boy", "surface form": "Carlo Giuliani"}], "relations": [{"URI": "http://dbpedia.org/ontology/discharge", "surface form": "shot"}]}, {"id": "137", "question": [{"language": "en", "string": "Which rivers flow into a German lake?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/River> . ?x <http://dbpedia.org/ontology/inflow> ?uri ; a <http://dbpedia.org/ontology/Lake> ; <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Germany> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alster"}}, "entities": [{"URI": "http://dbpedia.org/resource/Germany", "surface form": "German lake"}, {"URI": "http://dbpedia.org/resource/German_Lake", "surface form": "German lake"}], "relations": [{"URI": "http://dbpedia.org/ontology/operator", "surface form": "rivers"}, {"URI": "http://dbpedia.org/property/float", "surface form": "flow"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "140", "question": [{"language": "en", "string": "How many pages does War and Peace have?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?n WHERE { res:War_and_Peace dbo:numberOfPages ?n }"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#positiveInteger", "value": "1225"}}, "entities": [{"URI": "http://dbpedia.org/resource/War_and_Peace", "surface form": "War and Peace"}], "relations": []}, {"id": "141", "question": [{"language": "en", "string": "Which ingredients do I need for carrot cake?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Carrot_cake dbo:ingredient ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carrot"}}, "entities": [{"URI": "http://dbpedia.org/resource/I", "surface form": "I"}, {"URI": "http://dbpedia.org/resource/Carrot_cake", "surface form": "carrot cake"}], "relations": [{"URI": "http://dbpedia.org/ontology/ingredient", "surface form": "ingredients"}]}, {"id": "147", "question": [{"language": "en", "string": "Where was Bach born?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Johann_Sebastian_Bach dbo:birthPlace ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Eisenach"}}, "entities": [{"URI": "http://dbpedia.org/resource/Johann_Sebastian_Bach", "surface form": "Bach"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "148", "question": [{"language": "en", "string": "Which of Tim Burton's films had the highest budget?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:director res:Tim_Burton ; dbo:budget ?b } ORDER BY ?b OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Big_Eyes"}}, "entities": [{"URI": "http://dbpedia.org/resource/Tim_Burton", "surface form": "Tim Burton"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfFilms", "surface form": " films"}, {"URI": "http://dbpedia.org/ontology/elevation", "surface form": "highest budget"}]}, {"id": "150", "question": [{"language": "en", "string": "What are the top-10 action role-playing video games according to IGN?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://purl.org/dc/terms/subject> <http://dbpedia.org/resource/Category:Action_role-playing_video_games> ; <http://dbpedia.org/property/ign> ?score } ORDER BY DESC(?score) LIMIT 10"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Battleheart_Legacy"}}, "entities": [{"URI": "http://dbpedia.org/resource/Action_role-playing_games", "surface form": "top-10 action role-playing video games"}, {"URI": "http://dbpedia.org/resource/IGN", "surface form": "IGN"}], "relations": []}, {"id": "159", "question": [{"language": "en", "string": "Who was the first to climb Mount Everest?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Mount_Everest dbo:firstAscentPerson ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Tenzing_Norgay"}}, "entities": [{"URI": "http://dbpedia.org/resource/Mount_Everest", "surface form": "Mount Everest"}], "relations": [{"URI": "http://dbpedia.org/ontology/board", "surface form": "climb"}]}, {"id": "163", "question": [{"language": "en", "string": "How many James Bond movies are there?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) as ?c) WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/JamesBondFilms> . } "}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "0"}}, "entities": [{"URI": "http://dbpedia.org/resource/James_Bond", "surface form": "James Bond movies"}], "relations": []}, {"id": "170", "question": [{"language": "en", "string": "Give me all cosmonauts."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Astronaut> { ?uri <http://dbpedia.org/ontology/nationality> <http://dbpedia.org/resource/Russia> } UNION { ?uri <http://dbpedia.org/ontology/nationality> <http://dbpedia.org/resource/Soviet_Union> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Valery_Kubasov"}}, "entities": [{"URI": "http://dbpedia.org/resource/Cosmonauts_Alley", "surface form": "Cosmonauts"}], "relations": []}, {"id": "171", "question": [{"language": "en", "string": "Give me a list of all bandleaders that play trumpet."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/occupation> <http://dbpedia.org/resource/Bandleader> ; <http://dbpedia.org/ontology/instrument> <http://dbpedia.org/resource/Trumpet> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Danny_Davis_(country_musician)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Geraldo_(bandleader)", "surface form": "bandleaders"}], "relations": [{"URI": "http://dbpedia.org/ontology/starring", "surface form": "play"}, {"URI": "http://dbpedia.org/ontology/head", "surface form": "trumpet"}]}, {"id": "172", "question": [{"language": "en", "string": "Which countries have more than ten caves?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Country> . ?cave a <http://dbpedia.org/ontology/Cave> { ?cave <http://dbpedia.org/ontology/location> ?uri } UNION { ?cave <http://dbpedia.org/ontology/location> ?loc . ?loc <http://dbpedia.org/ontology/country> ?uri } } GROUP BY ?uri HAVING ( COUNT(?cave) > 10 )"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Jamaica"}}, "entities": [{"URI": "http://dbpedia.org/resource/Countries_of_the_United_Kingdom", "surface form": "countries"}, {"URI": "http://dbpedia.org/resource/Caves_of_Aggtelek_Karst_and_Slovak_Karst", "surface form": "caves"}], "relations": []}, {"id": "175", "question": [{"language": "en", "string": "Give me all actors starring in movies directed by William Shatner."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?x dbo:director res:William_Shatner ; dbo:starring ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/DeForest_Kelley"}}, "entities": [{"URI": "http://dbpedia.org/resource/William_Shatner", "surface form": "William Shatner"}], "relations": [{"URI": "http://dbpedia.org/ontology/artist", "surface form": "actors"}, {"URI": "http://dbpedia.org/ontology/starring", "surface form": "starring"}, {"URI": "http://dbpedia.org/ontology/film", "surface form": "movies"}, {"URI": "http://dbpedia.org/property/directedby", "surface form": "directed"}]}, {"id": "176", "question": [{"language": "en", "string": "Give me all Methodist politicians."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Politician> ; <http://dbpedia.org/ontology/religion> <http://dbpedia.org/resource/Methodism> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bourke_B._Hickenlooper"}}, "entities": [{"URI": "http://dbpedia.org/resource/Chicago_Politicians", "surface form": "Methodist politicians"}], "relations": []}, {"id": "182", "question": [{"language": "en", "string": "Which Chess players died in the same place they were born in?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/ChessPlayer> ; <http://dbpedia.org/ontology/birthPlace> ?x ; <http://dbpedia.org/ontology/deathPlace> ?y FILTER ( ?x = ?y ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bertus_Enklaar"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Chess_Players_(film)", "surface form": "Chess players"}], "relations": [{"URI": "http://dbpedia.org/ontology/deathDate", "surface form": "died"}, {"URI": "http://dbpedia.org/ontology/place", "surface form": "place"}, {"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "184", "question": [{"language": "en", "string": "What is the official language of Suriname?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Suriname dbo:officialLanguage ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Surinamese_Dutch"}}, "entities": [{"URI": "http://dbpedia.org/resource/Suriname", "surface form": "Suriname"}], "relations": [{"URI": "http://dbpedia.org/ontology/officialLanguage", "surface form": "official language"}]}, {"id": "187", "question": [{"language": "en", "string": "Give me all libraries established earlier than 1400."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Library> ; <http://dbpedia.org/property/established> ?year FILTER ( ?year < 1400 ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Library_of_Pergamum"}}, "entities": [{"URI": "http://dbpedia.org/resource/Libraries_in_Brighton_and_Hove", "surface form": "libraries"}, {"URI": "http://dbpedia.org/resource/1400", "surface form": "1400"}], "relations": [{"URI": "http://dbpedia.org/ontology/established", "surface form": "established"}, {"URI": "http://dbpedia.org/ontology/date", "surface form": "when"}]}, {"id": "188", "question": [{"language": "en", "string": "Give me all federal chancellors of Germany."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Person> { ?uri <http://dbpedia.org/ontology/office> \"Chancellor of Germany\" } UNION { ?uri <http://dbpedia.org/property/office> <http://dbpedia.org/resource/Chancellor_of_Germany> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Franz_von_Papen"}}, "entities": [{"URI": "http://dbpedia.org/resource/Germany", "surface form": "Germany"}], "relations": [{"URI": "http://dbpedia.org/ontology/federalState", "surface form": "federal chancellors"}]}, {"id": "189", "question": [{"language": "en", "string": "How many Aldi stores are there?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?number WHERE { res:Aldi dbo:numberOfLocations ?number }"}, "answers": {"number": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "11235"}}, "entities": [{"URI": "http://dbpedia.org/resource/Aldi", "surface form": "Aldi stores"}], "relations": []}, {"id": "191", "question": [{"language": "en", "string": "Who wrote the book The Pillars of the Earth?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Pillars_of_the_Earth dbo:author ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ken_Follett"}}, "entities": [{"URI": "http://dbpedia.org/resource/The_Pillars_of_the_Earth", "surface form": "The Pillars of the Earth"}], "relations": [{"URI": "http://dbpedia.org/ontology/author", "surface form": "wrote"}]}, {"id": "192", "question": [{"language": "en", "string": "In which U.S. state is Mount McKinley located?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Mount_McKinley> dbo:wikiPageRedirects ?x . ?x <http://dbpedia.org/ontology/locatedInArea> ?uri. ?uri rdf:type yago:WikicatStatesOfTheUnitedStates }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alaska"}}, "entities": [{"URI": "http://dbpedia.org/resource/United_States", "surface form": "US"}, {"URI": "http://dbpedia.org/resource/Denali", "surface form": "Mount McKinley"}], "relations": [{"URI": "http://dbpedia.org/ontology/locatedInArea", "surface form": "located"}]}, {"id": "194", "question": [{"language": "en", "string": "Give me all ESA astronauts."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Astronaut> ; <http://dbpedia.org/property/type> <http://dbpedia.org/resource/European_Space_Agency> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Dirk_Frimout"}}, "entities": [{"URI": "http://dbpedia.org/resource/European_Free_Trade_Association_Surveillance_Authority", "surface form": "ESA"}], "relations": [{"URI": "http://dbpedia.org/ontology/countryWithFirstAstronaut", "surface form": "astronauts"}]}, {"id": "195", "question": [{"language": "en", "string": "Give me all Swedish holidays."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Holiday> ; <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Sweden> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Saint_Knut's_Day"}}, "entities": [{"URI": "http://dbpedia.org/resource/Sweden", "surface form": "Swedish holidays"}, {"URI": "http://dbpedia.org/resource/Swedish", "surface form": "Swedish holidays"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": ""}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "196", "question": [{"language": "en", "string": "Who is the youngest Pulitzer Prize winner?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/award> <http://dbpedia.org/resource/Pulitzer_Prize> . ?uri <http://dbpedia.org/ontology/birthDate> ?d . } ORDER BY DESC(?d) OFFSET 0 LIMIT 1 "}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mohammad_Ponir_Hossain"}}, "entities": [{"URI": "http://dbpedia.org/resource/Pulitzer-Prize", "surface form": "Pulitzer Prize winner"}], "relations": []}, {"id": "199", "question": [{"language": "en", "string": "Which programming languages were influenced by Perl?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/ProgrammingLanguage> { ?uri <http://dbpedia.org/ontology/influencedBy> <http://dbpedia.org/resource/Perl> } UNION { <http://dbpedia.org/resource/Perl> <http://dbpedia.org/ontology/influenced> ?uri } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/BeanShell"}}, "entities": [{"URI": "http://dbpedia.org/resource/Perl", "surface form": "Perl"}], "relations": [{"URI": "http://dbpedia.org/property/programmingLanguage", "surface form": "programming languages"}, {"URI": "http://dbpedia.org/ontology/influenced", "surface form": "influenced"}]}, {"id": "201", "question": [{"language": "en", "string": "Which frequent flyer program has the most airlines?"}], "query": {"sparql": "SELECT ?uri WHERE { ?airline <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Airline> . ?airline <http://dbpedia.org/property/frequentFlyer> ?uri. } GROUP BY ?uri ORDER BY DESC(COUNT(DISTINCT ?airline)) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Miles_&_More"}}, "entities": [{"URI": "http://dbpedia.org/resource/Frequent-flyer_program", "surface form": "frequent flyer program"}], "relations": [{"URI": "http://dbpedia.org/ontology/icaoAirlineCode", "surface form": "airlines"}]}, {"id": "203", "question": [{"language": "en", "string": "Which artists were born on the same date as Rachel Stevens?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri a dbo:Artist . dbr:Rachel_Stevens dbo:birthDate ?birthdate . ?uri dbo:birthDate ?birthdate }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vesna_Pisarovi\u0107"}}, "entities": [{"URI": "http://dbpedia.org/resource/Rachel_Stevens", "surface form": "Rachel Stevens"}], "relations": [{"URI": "http://dbpedia.org/property/artist", "surface form": "artists"}, {"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "206", "question": [{"language": "en", "string": "Who is starring in Spanish movies produced by Benicio del Toro?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?film rdf:type dbo:Film ; dbo:country res:Spain ; dbo:producer res:Benicio_del_Toro ; dbo:starring ?uri . ?uri rdf:type dbo:Person }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Benicio_del_Toro"}}, "entities": [{"URI": "http://dbpedia.org/resource/Spain", "surface form": "Spanish movies"}, {"URI": "http://dbpedia.org/resource/The_Movies_(film)", "surface form": "Spanish movies"}, {"URI": "http://dbpedia.org/resource/Benicio_del_Toro", "surface form": "Benicio del Toro"}], "relations": [{"URI": "http://dbpedia.org/ontology/starring", "surface form": "starring"}, {"URI": "http://dbpedia.org/ontology/wineProduced", "surface form": "produced"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "207", "question": [{"language": "en", "string": "Give me the currency of China."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:China dbo:currency ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Renminbi"}}, "entities": [{"URI": "http://dbpedia.org/resource/China", "surface form": "China"}], "relations": [{"URI": "http://dbpedia.org/ontology/currency", "surface form": "currency"}]}, {"id": "209", "question": [{"language": "en", "string": "How many companies were founded by the founder of Facebook?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?x) AS ?c) WHERE { <http://dbpedia.org/resource/Facebook> <http://dbpedia.org/ontology/foundedBy> ?uri . ?x <http://dbpedia.org/ontology/foundedBy> ?uri }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "0"}}, "entities": [{"URI": "http://dbpedia.org/resource/Companies_listed_on_the_New_York_Stock_Exchange_(J)", "surface form": "companies"}, {"URI": "http://dbpedia.org/resource/Facebook", "surface form": "Facebook"}], "relations": [{"URI": "http://dbpedia.org/ontology/foundingYear", "surface form": "founded"}, {"URI": "http://dbpedia.org/ontology/founder", "surface form": "founder"}]}, {"id": "210", "question": [{"language": "en", "string": "How many companies were founded in the same year as Google?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) as ?c) WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company> . ?uri <http://dbpedia.org/ontology/foundingYear> ?year . <http://dbpedia.org/resource/Google> <http://dbpedia.org/ontology/foundingYear> ?year . } "}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1343"}}, "entities": [{"URI": "http://dbpedia.org/resource/Companies_listed_on_the_New_York_Stock_Exchange_(J)", "surface form": "companies"}, {"URI": "http://dbpedia.org/resource/Google", "surface form": "Google"}], "relations": [{"URI": "http://dbpedia.org/ontology/foundingYear", "surface form": "founded"}]}, {"id": "215", "question": [{"language": "en", "string": "Give me all Swiss non-profit organizations."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/type> <http://dbpedia.org/resource/Nonprofit_organization> { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Switzerland> } UNION { ?uri <http://dbpedia.org/ontology/location> ?x . ?x <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Switzerland> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aiducation"}}, "entities": [{"URI": "http://dbpedia.org/resource/Non\u2013profit_organizations_based_in_California", "surface form": "Swiss non-profit organizations"}], "relations": []}, {"id": "220", "question": [{"language": "en", "string": "What is the highest mountain in Italy?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Mountain ; dbo:locatedInArea res:Italy ; dbo:elevation ?num } ORDER BY DESC(?num) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Mont_Blanc"}}, "entities": [{"URI": "http://dbpedia.org/resource/Italy", "surface form": "Italy"}], "relations": [{"URI": "http://dbpedia.org/ontology/elevation", "surface form": "highest mountain"}]}, {"id": "221", "question": [{"language": "en", "string": "Where did the architect of the Eiffel Tower study?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Eiffel_Tower> <http://dbpedia.org/ontology/architect> ?x . ?x <http://dbpedia.org/property/almaMater> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/\u00c9cole_Sp\u00e9ciale_d'Architecture"}}, "entities": [{"URI": "http://dbpedia.org/resource/Eiffel_Tower", "surface form": "Eiffel Tower study"}], "relations": [{"URI": "http://dbpedia.org/ontology/architect", "surface form": "architect"}]}, {"id": "222", "question": [{"language": "en", "string": "Which Greek parties are pro-European?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/PoliticalParty> ; <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Greece> ; <http://dbpedia.org/ontology/ideology> <http://dbpedia.org/resource/Pro-Europeanism> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Democratic_Alignment_(2015)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Greece", "surface form": "Greek parties are pro-European"}, {"URI": "http://dbpedia.org/resource/Early_Greek_parties", "surface form": "Greek parties are pro-European"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "223", "question": [{"language": "en", "string": "How high is the Yokohama Marine Tower?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Yokohama_Marine_Tower dbo:height ?num }"}, "answers": {"num": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "106.07"}}, "entities": [{"URI": "http://dbpedia.org/resource/Yokohama_Marine_Tower", "surface form": "Yokohama Marine Tower"}], "relations": [{"URI": "http://dbpedia.org/ontology/height", "surface form": "high"}]}, {"id": "224", "question": [{"language": "en", "string": "How many ethnic groups live in Slovenia?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { res:Slovenia dbo:ethnicGroup ?uri }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "7"}}, "entities": [{"URI": "http://dbpedia.org/resource/Slovenia", "surface form": "Slovenia"}], "relations": [{"URI": "http://dbpedia.org/ontology/ethnicGroup", "surface form": "ethnic"}, {"URI": "http://dbpedia.org/ontology/populationTotal", "surface form": "live"}]}, {"id": "226", "question": [{"language": "en", "string": "Who were the parents of Queen Victoria?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Queen_Victoria dbo:parent ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Prince_Edward,_Duke_of_Kent_and_Strathearn"}}, "entities": [{"URI": "http://dbpedia.org/resource/Queen_Victoria", "surface form": "Queen Victoria"}], "relations": [{"URI": "http://dbpedia.org/ontology/parent", "surface form": "parents"}]}, {"id": "236", "question": [{"language": "en", "string": "Who is the owner of Rolls-Royce?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Rolls-Royce_Motors> <http://dbpedia.org/ontology/owner> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vickers_plc"}}, "entities": [{"URI": "http://dbpedia.org/resource/Rolls-Royce", "surface form": "Rolls-Royce"}], "relations": [{"URI": "http://dbpedia.org/ontology/owner", "surface form": "owner"}]}, {"id": "237", "question": [{"language": "en", "string": "What is the most frequent cause of death?"}], "query": {"sparql": "SELECT DISTINCT ?x WHERE { ?uri <http://dbpedia.org/ontology/deathCause> ?x . } ORDER BY DESC(COUNT(DISTINCT ?uri)) OFFSET 0 LIMIT 1"}, "answers": {"x": {"type": "uri", "value": "http://dbpedia.org/resource/Gunshot_wound"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/patron", "surface form": "frequent"}, {"URI": "http://dbpedia.org/ontology/fate", "surface form": "death"}]}, {"id": "240", "question": [{"language": "en", "string": "Which companies have more than 1 million employees?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Company> { ?uri <http://dbpedia.org/ontology/numberOfEmployees> ?n } UNION { ?uri <http://dbpedia.org/property/numEmployees> ?n } FILTER ( ?n > 1000000 ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Walmart"}}, "entities": [{"URI": "http://dbpedia.org/resource/Companies_listed_on_the_New_York_Stock_Exchange_(J)", "surface form": "companies"}], "relations": [{"URI": "http://dbpedia.org/ontology/iso6391Code", "surface form": "1"}, {"URI": "http://dbpedia.org/ontology/numberOfEmployees", "surface form": "employees"}]}, {"id": "242", "question": [{"language": "en", "string": "Show me the book that Muhammad Ali wrote."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Book ; dbo:author res:Muhammad_Ali }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Soul_of_a_Butterfly"}}, "entities": [{"URI": "http://dbpedia.org/resource/Muhammad_Ali", "surface form": "Muhammad Ali"}], "relations": [{"URI": "http://dbpedia.org/ontology/author", "surface form": "wrote"}]}, {"id": "248", "question": [{"language": "en", "string": "Show a list of soccer clubs that play in the Bundesliga."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/SoccerClub> ; <http://dbpedia.org/ontology/league> <http://dbpedia.org/resource/Bundesliga> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/1969\u201370_FC_Bayern_Munich_season"}}, "entities": [{"URI": "http://dbpedia.org/resource/Bundesliga", "surface form": "Bundesliga"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}, {"URI": "http://dbpedia.org/ontology/clubsRecordGoalscorer", "surface form": "soccer clubs"}, {"URI": "http://dbpedia.org/ontology/team", "surface form": "play"}]}, {"id": "249", "question": [{"language": "en", "string": "What country is Mount Everest in?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { res:Mount_Everest dbo:locatedInArea ?uri . ?uri rdf:type dbo:Country }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/China"}}, "entities": [{"URI": "http://dbpedia.org/resource/Mount_Everest", "surface form": "Mount Everest"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": "country"}]}, {"id": "251", "question": [{"language": "en", "string": "Which programming languages influenced Javascript?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/ProgrammingLanguage> ; <http://dbpedia.org/ontology/influenced> <http://dbpedia.org/resource/JavaScript> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/CoffeeScript"}}, "entities": [{"URI": "http://dbpedia.org/resource/Syntax_(programming_languages)", "surface form": "programming languages languages influenced Javascript"}], "relations": [{"URI": "http://dbpedia.org/property/programming", "surface form": "programming"}]}, {"id": "253", "question": [{"language": "en", "string": "Show me all the breweries in Australia."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Brewery> { ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Australia> } UNION { ?uri <http://dbpedia.org/ontology/location> ?x . ?x <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Australia> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Cascade_Brewery"}}, "entities": [{"URI": "http://dbpedia.org/resource/Palm_Breweries", "surface form": "Breweries in Australia"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}]}, {"id": "254", "question": [{"language": "en", "string": "How much did Pulp Fiction cost?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?n WHERE { res:Pulp_Fiction dbo:budget ?n }"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://dbpedia.org/datatype/usDollar", "value": "8.0"}}, "entities": [{"URI": "http://dbpedia.org/resource/Pulp_Fiction", "surface form": "Pulp Fiction"}], "relations": [{"URI": "http://dbpedia.org/ontology/budget", "surface form": "cost"}]}, {"id": "258", "question": [{"language": "en", "string": "Which book has the most pages?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Book ; dbo:numberOfPages ?n } ORDER BY DESC(?n) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/The_Tolkien_Reader"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/volume", "surface form": "book"}]}, {"id": "261", "question": [{"language": "en", "string": "What is the location of the Houses of Parliament?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri WHERE { res:Palace_of_Westminster dbo:location ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/United_Kingdom"}}, "entities": [{"URI": "http://dbpedia.org/resource/Palace_of_Westminster", "surface form": "Houses of Parliament"}], "relations": [{"URI": "http://dbpedia.org/ontology/location", "surface form": "location"}]}, {"id": "265", "question": [{"language": "en", "string": "Which airports does Air China serve?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Air_China dbo:targetAirport ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Hangzhou_Xiaoshan_International_Airport"}}, "entities": [{"URI": "http://dbpedia.org/resource/Air_China", "surface form": "Air China"}], "relations": [{"URI": "http://dbpedia.org/ontology/hubAirport", "surface form": "airports"}, {"URI": "http://dbpedia.org/property/row", "surface form": "serve"}]}, {"id": "266", "question": [{"language": "en", "string": "In which year was Rachel Stevens born?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Rachel_Stevens dbo:birthYear ?uri }"}, "answers": {"uri": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#gYear", "value": "1978"}}, "entities": [{"URI": "http://dbpedia.org/resource/Rachel_Stevens", "surface form": "Rachel Stevens"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthYear", "surface form": "born"}]}, {"id": "273", "question": [{"language": "en", "string": "Who was president of Pakistan in 1978?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/property/title> <http://dbpedia.org/resource/President_of_Pakistan> ; <http://dbpedia.org/property/years> 1978 }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Muhammad_Zia-ul-Haq"}}, "entities": [{"URI": "http://dbpedia.org/resource/Pakistan", "surface form": "Pakistan"}, {"URI": "http://dbpedia.org/resource/1978", "surface form": "1978"}], "relations": [{"URI": "http://dbpedia.org/ontology/president", "surface form": "president"}]}, {"id": "275", "question": [{"language": "en", "string": "Give me all types of eating disorders."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/class/yago/WikicatEatingDisorders> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Disordered_eating"}}, "entities": [{"URI": "http://dbpedia.org/resource/Disorders_of_consciousness", "surface form": "disorders"}], "relations": [{"URI": "http://dbpedia.org/property/type", "surface form": "types"}, {"URI": "http://dbpedia.org/ontology/house", "surface form": "eating"}]}, {"id": "276", "question": [{"language": "en", "string": "Who was married to president Chirac?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Jacques_Chirac dbo:spouse ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Bernadette_Chirac"}}, "entities": [{"URI": "http://dbpedia.org/resource/Jacques_Chirac", "surface form": "president Chirac"}], "relations": [{"URI": "http://dbpedia.org/ontology/spouse", "surface form": "married"}]}, {"id": "277", "question": [{"language": "en", "string": "What is the largest metropolitan area in Washington state?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Washington_(state)> <http://dbpedia.org/property/largestmetro> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seattle_metropolitan_area"}}, "entities": [{"URI": "http://dbpedia.org/resource/Metropolitan_area", "surface form": "largest metropolitan area"}, {"URI": "http://dbpedia.org/resource/Washington", "surface form": "Washington"}], "relations": []}, {"id": "278", "question": [{"language": "en", "string": "Where in France is sparkling wine produced?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:wineProduced res:Sparkling_wine ; dbo:location res:France }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Loire_Valley_(wine)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Sparkling_wines", "surface form": "sparkling wine"}, {"URI": "http://dbpedia.org/resource/France", "surface form": "France"}], "relations": [{"URI": "http://dbpedia.org/ontology/parkingInformation", "surface form": "sparkling"}, {"URI": "http://dbpedia.org/ontology/wineRegion", "surface form": "wine produced"}]}, {"id": "282", "question": [{"language": "en", "string": "Who was the doctoral supervisor of Albert Einstein?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Albert_Einstein dbo:doctoralAdvisor ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alfred_Kleiner"}}, "entities": [{"URI": "http://dbpedia.org/resource/Albert_Einstein", "surface form": "Albert Einstein"}], "relations": [{"URI": "http://dbpedia.org/ontology/doctoralAdvisor", "surface form": "doctoral supervisor"}]}, {"id": "284", "question": [{"language": "en", "string": "Who was on the Apollo 11 mission?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Apollo_11> <http://dbpedia.org/property/crewMembers> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Buzz_Aldrin"}}, "entities": [{"URI": "http://dbpedia.org/resource/Apollo_11", "surface form": "Apollo 11 mission"}], "relations": []}, {"id": "289", "question": [{"language": "en", "string": "Which Indian company has the most employees?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Company ; dbo:location res:India ; dbo:numberOfEmployees ?n } ORDER BY DESC(?n) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ministry_of_Railways_(India)"}}, "entities": [{"URI": "http://dbpedia.org/resource/India", "surface form": "Indian company"}, {"URI": "http://dbpedia.org/resource/SPIC_(Indian_company)", "surface form": "Indian company"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfEmployees", "surface form": "employees"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "291", "question": [{"language": "en", "string": "What is the capital of Cameroon?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Cameroon dbo:capital ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Yaound\u00e9"}}, "entities": [{"URI": "http://dbpedia.org/resource/Cameroon", "surface form": "Cameroon"}], "relations": [{"URI": "http://dbpedia.org/ontology/capital", "surface form": "capital"}]}, {"id": "294", "question": [{"language": "en", "string": "Who wrote Harry Potter?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Harry_Potter> <http://dbpedia.org/property/author> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/J._K._Rowling"}}, "entities": [{"URI": "http://dbpedia.org/resource/Harry_Potter", "surface form": "Harry Potter"}], "relations": [{"URI": "http://dbpedia.org/property/author", "surface form": "wrote"}]}, {"id": "296", "question": [{"language": "en", "string": "What is the largest country in the world?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Country ; dbo:areaTotal ?n } ORDER BY DESC(?n) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Asia"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/areaTotal", "surface form": "largest country"}]}, {"id": "298", "question": [{"language": "en", "string": "To which party does the mayor of Paris belong?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Paris dbo:mayor ?x . ?x dbo:party ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Socialist_Party_(France)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Paris", "surface form": "Paris"}], "relations": [{"URI": "http://dbpedia.org/ontology/party", "surface form": "party"}, {"URI": "http://dbpedia.org/ontology/mayor", "surface form": "mayor"}, {"URI": "http://dbpedia.org/ontology/date", "surface form": "belong"}]}, {"id": "300", "question": [{"language": "en", "string": "When did Boris Becker end his active career?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?d WHERE { res:Boris_Becker dbo:activeYearsEndDate ?d }"}, "answers": {"d": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1999-06-25"}}, "entities": [{"URI": "http://dbpedia.org/resource/Boris_Becker", "surface form": "Boris Becker"}], "relations": [{"URI": "http://dbpedia.org/ontology/result", "surface form": "end"}, {"URI": "http://dbpedia.org/ontology/careerPrizeMoney", "surface form": "active career"}]}, {"id": "301", "question": [{"language": "en", "string": "Show me all basketball players that are higher than 2 meters."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/BasketballPlayer> ; <http://dbpedia.org/ontology/height> ?n FILTER ( ?n > 2.0 ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Alize_Johnson"}}, "entities": [{"URI": "http://dbpedia.org/resource/National_Basketball_Players_Association", "surface form": "basketball players"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}, {"URI": "http://dbpedia.org/ontology/seniority", "surface form": "higher"}, {"URI": "http://dbpedia.org/ontology/iso6392Code", "surface form": "2 meters"}]}, {"id": "303", "question": [{"language": "en", "string": "How many grand-children did Jacques Cousteau have?"}], "query": {"sparql": "SELECT COUNT(DISTINCT ?y AS ?y) WHERE { <http://dbpedia.org/resource/Jacques_Cousteau> <http://dbpedia.org/ontology/child> ?x . ?x <http://dbpedia.org/ontology/child> ?y . }"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "4"}}, "entities": [{"URI": "http://dbpedia.org/resource/Jacques_Cousteau", "surface form": "Jacques Cousteau"}], "relations": [{"URI": "http://dbpedia.org/ontology/child", "surface form": "grand-children"}]}, {"id": "306", "question": [{"language": "en", "string": "Show me all books in Asimov's Foundation series."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:series res:Foundation_series }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/R._Daneel_Olivaw"}}, "entities": [{"URI": "http://dbpedia.org/resource/Asimov_(disambiguation)", "surface form": "Asimov"}, {"URI": "http://dbpedia.org/resource/Foundation_series", "surface form": " Foundation series"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}, {"URI": "http://dbpedia.org/property/books", "surface form": "books"}]}, {"id": "307", "question": [{"language": "en", "string": "Which movies star both Liz Taylor and Richard Burton?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Elizabeth_Taylor> ; <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Richard_Burton> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Divorce_His,_Divorce_Hers"}}, "entities": [{"URI": "http://dbpedia.org/resource/Liz:_The_Elizabeth_Taylor_Story", "surface form": "Liz Taylor"}, {"URI": "http://dbpedia.org/resource/Richard_Burton", "surface form": "Richard Burton"}], "relations": [{"URI": "http://dbpedia.org/ontology/film", "surface form": "movies"}, {"URI": "http://dbpedia.org/property/name", "surface form": "star"}]}, {"id": "308", "question": [{"language": "en", "string": "In which city are the headquarters of the United Nations?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { res:Headquarters_of_the_United_Nations dbo:location ?uri . ?uri rdf:type dbo:City }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/New_York_City"}}, "entities": [{"URI": "http://dbpedia.org/resource/Headquarters_of_the_United_Nations", "surface form": "headquarters of the United Nations"}], "relations": [{"URI": "http://dbpedia.org/ontology/city", "surface form": "city"}, {"URI": "http://dbpedia.org/ontology/headquarter", "surface form": "headquarters"}]}, {"id": "309", "question": [{"language": "en", "string": "In which city was the president of Montenegro born?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/title> dbr:President_of_Montenegro ; dbo:birthPlace ?uri . ?uri dbo:type dbr:Capital_city }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Belgrade"}}, "entities": [{"URI": "http://dbpedia.org/resource/Montenegro", "surface form": "Montenegro"}], "relations": [{"URI": "http://dbpedia.org/ontology/city", "surface form": "city"}, {"URI": "http://dbpedia.org/ontology/president", "surface form": "president"}, {"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "born"}]}, {"id": "310", "question": [{"language": "en", "string": "Which writers studied in Istanbul?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Writer> { ?uri <http://dbpedia.org/ontology/almaMater> ?x } UNION { ?uri <http://dbpedia.org/ontology/education> ?x } { ?x <http://dbpedia.org/ontology/city> <http://dbpedia.org/resource/Istanbul> } UNION { ?x <http://dbpedia.org/property/city> <http://dbpedia.org/resource/Istanbul> } }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Vedat_T\u00fcrkali"}}, "entities": [{"URI": "http://dbpedia.org/resource/Istanbul", "surface form": "Istanbul"}], "relations": [{"URI": "http://dbpedia.org/ontology/writer", "surface form": "writers"}, {"URI": "http://dbpedia.org/ontology/office", "surface form": "studied"}]}, {"id": "313", "question": [{"language": "en", "string": "Who discovered Ceres?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Ceres_(dwarf_planet)> dbo:discoverer ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Giuseppe_Piazzi"}}, "entities": [{"URI": "http://dbpedia.org/resource/Ceres_(dwarf_planet)", "surface form": "Ceres"}], "relations": [{"URI": "http://dbpedia.org/ontology/discoverer", "surface form": "discovered"}]}, {"id": "316", "question": [{"language": "en", "string": "What was the first Queen album?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Album ; dbo:artist <http://dbpedia.org/resource/Queen_(band)> ; dbo:releaseDate ?d } ORDER BY ASC(?d) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seven_Seas_of_Rhye"}}, "entities": [{"URI": "http://dbpedia.org/resource/Queen_(Queen_album)", "surface form": "Queen album"}], "relations": []}, {"id": "318", "question": [{"language": "en", "string": "Where is Syngman Rhee buried?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Syngman_Rhee dbo:restingPlace ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Seoul"}}, "entities": [{"URI": "http://dbpedia.org/resource/Syngman_Rhee", "surface form": "Syngman Rhee"}], "relations": [{"URI": "http://dbpedia.org/ontology/restingPlace", "surface form": "buried"}]}, {"id": "319", "question": [{"language": "en", "string": "In which countries do people speak Japanese?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Country ; dbo:language res:Japanese_language }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Taiwan_under_Japanese_rule"}}, "entities": [{"URI": "http://dbpedia.org/resource/Countries_of_the_United_Kingdom", "surface form": "countries"}, {"URI": "http://dbpedia.org/resource/Japan", "surface form": "Japanese"}, {"URI": "http://dbpedia.org/resource/Japanese", "surface form": "Japanese"}], "relations": [{"URI": "http://dbpedia.org/ontology/language", "surface form": "speak"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "323", "question": [{"language": "en", "string": "When did Operation Overlord commence?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?d WHERE { res:Operation_Overlord dbo:date ?d }"}, "answers": {"d": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1944-08-30"}}, "entities": [{"URI": "http://dbpedia.org/resource/Operation_Overlord", "surface form": "Operation Overlord commence"}], "relations": [{"URI": "http://dbpedia.org/ontology/date", "surface form": "when"}]}, {"id": "325", "question": [{"language": "en", "string": "In which time zone is Rome?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Rome dbo:timeZone ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Central_European_Time"}}, "entities": [{"URI": "http://dbpedia.org/resource/Rome", "surface form": "Rome"}], "relations": [{"URI": "http://dbpedia.org/ontology/timeZone", "surface form": "time zone"}]}, {"id": "328", "question": [{"language": "en", "string": "What was the original occupation of the inventor of Lego?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Lego> <http://dbpedia.org/property/inventor> ?x . ?x <http://dbpedia.org/property/occupation> ?uri . } "}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Carpenter"}}, "entities": [{"URI": "http://dbpedia.org/resource/Lego", "surface form": "Lego"}], "relations": [{"URI": "http://dbpedia.org/ontology/industry", "surface form": "original occupation"}, {"URI": "http://dbpedia.org/property/founder", "surface form": "inventor"}]}, {"id": "329", "question": [{"language": "en", "string": "Which countries have more than ten volcanoes?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?x a <http://dbpedia.org/ontology/Volcano> ; <http://dbpedia.org/ontology/locatedInArea> ?uri . ?uri a <http://dbpedia.org/ontology/Country> } GROUP BY ?uri HAVING ( COUNT(?x) > 10 )"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Japan"}}, "entities": [{"URI": "http://dbpedia.org/resource/Countries_of_the_United_Kingdom", "surface form": "countries"}, {"URI": "http://dbpedia.org/resource/Volcanoes_National_Park", "surface form": "volcanoes"}], "relations": []}, {"id": "330", "question": [{"language": "en", "string": "Who wrote the Game of Thrones theme?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Game_of_Thrones dbo:composer ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ramin_Djawadi"}}, "entities": [{"URI": "http://dbpedia.org/resource/Game_of_Thrones", "surface form": "Game of Thrones"}], "relations": [{"URI": "http://dbpedia.org/ontology/composer", "surface form": "wrote"}]}, {"id": "333", "question": [{"language": "en", "string": "How many emperors did China have?"}], "query": {"sparql": "SELECT COUNT(DISTINCT ?uri AS ?uri) WHERE { ?uri <http://dbpedia.org/property/title> <http://dbpedia.org/resource/Emperor_of_China> . }"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "242"}}, "entities": [{"URI": "http://dbpedia.org/resource/China", "surface form": "China"}], "relations": [{"URI": "http://dbpedia.org/ontology/leader", "surface form": "emperors"}]}, {"id": "335", "question": [{"language": "en", "string": "In which ancient empire could you pay with cocoa beans?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:currency res:Cocoa_bean }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aztec_Empire"}}, "entities": [{"URI": "http://dbpedia.org/resource/Cocoa_bean", "surface form": "cocoa beans"}], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": "ancient empire"}, {"URI": "http://dbpedia.org/ontology/currency", "surface form": "pay"}]}, {"id": "337", "question": [{"language": "en", "string": "Which space probes were sent into orbit around the sun?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dct: <http://purl.org/dc/terms/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?s WHERE { ?s dct:subject dbc:Missions_to_the_Sun ; rdf:type ?type FILTER ( ?type IN (dbo:Satellite, dbo:ArtificialSatellite) ) }"}, "answers": {"s": {"type": "uri", "value": "http://dbpedia.org/resource/Geomagnetic_Field_Monitoring_Program_of_SUPARCO"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/area", "surface form": "space probes"}, {"URI": "http://dbpedia.org/ontology/course", "surface form": "orbit"}, {"URI": "http://dbpedia.org/ontology/year", "surface form": "sun"}]}, {"id": "338", "question": [{"language": "en", "string": "When was Coca Cola invented?"}], "query": {"sparql": "SELECT DISTINCT ?n WHERE { <http://dbpedia.org/resource/Coca-Cola> <http://dbpedia.org/property/introduced> ?n . } "}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1886-05-08"}}, "entities": [{"URI": "http://dbpedia.org/resource/Coca-Cola", "surface form": "Coca Cola"}], "relations": [{"URI": "http://dbpedia.org/ontology/creator", "surface form": "invented"}]}, {"id": "339", "question": [{"language": "en", "string": "What is the biggest stadium in Spain?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Stadium ; dbo:location res:Spain ; dbo:seatingCapacity ?n } ORDER BY DESC(?n) OFFSET 0 LIMIT 1"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Camp_Nou"}}, "entities": [{"URI": "http://dbpedia.org/resource/Spain", "surface form": "Spain"}], "relations": [{"URI": "http://dbpedia.org/property/stadium", "surface form": "biggest stadium"}]}, {"id": "341", "question": [{"language": "en", "string": "How short is the shortest active NBA player?"}], "query": {"sparql": "SELECT DISTINCT ?n WHERE { ?x a <http://dbpedia.org/ontology/BasketballPlayer> ; <http://dbpedia.org/ontology/league> <http://dbpedia.org/resource/National_Basketball_Association> ; <http://dbpedia.org/ontology/height> ?n FILTER NOT EXISTS { ?x <http://dbpedia.org/ontology/activeYearsEndYear> ?d } } ORDER BY ASC(?n) OFFSET 0 LIMIT 1"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "1.7526"}}, "entities": [{"URI": "http://dbpedia.org/resource/National_Basketball_Association", "surface form": "NBA"}, {"URI": "http://dbpedia.org/resource/Shortest_job_next", "surface form": "shortest active player"}], "relations": [{"URI": "http://dbpedia.org/ontology/thumbnail", "surface form": "short"}]}, {"id": "346", "question": [{"language": "en", "string": "Who is the son of Sonny and Cher?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:parent res:Cher ; dbo:parent res:Sonny_Bono }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Chaz_Bono"}}, "entities": [{"URI": "http://dbpedia.org/resource/Cher", "surface form": "Sonny and Cher"}, {"URI": "http://dbpedia.org/resource/Sonny_Bono", "surface form": "Sonny and Cher"}], "relations": [{"URI": "http://dbpedia.org/ontology/child", "surface form": "son"}]}, {"id": "347", "question": [{"language": "en", "string": "Show me Hemingway's autobiography."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri dbo:author res:Ernest_Hemingway ; dbo:literaryGenre res:Autobiography }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/A_Moveable_Feast"}}, "entities": [{"URI": "http://dbpedia.org/resource/Hemingway_House", "surface form": "Hemingway"}, {"URI": "http://dbpedia.org/resource/Autobiography", "surface form": " autobiography"}], "relations": [{"URI": "http://dbpedia.org/ontology/show", "surface form": "show"}]}, {"id": "348", "question": [{"language": "en", "string": "What kind of music did Lou Reed play?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Lou_Reed> <http://dbpedia.org/ontology/genre> ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Art_rock"}}, "entities": [{"URI": "http://dbpedia.org/resource/Lou_Reed", "surface form": "Lou Reed"}], "relations": [{"URI": "http://dbpedia.org/ontology/musicalBand", "surface form": "music"}, {"URI": "http://dbpedia.org/ontology/starring", "surface form": "play"}]}, {"id": "351", "question": [{"language": "en", "string": "When is the movie Worst Case Scenario going to be in cinemas in the Netherlands?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?rel WHERE { <http://dbpedia.org/resource/Worst_Case_Scenario_(film)> ?p ?o ; dbo:releaseDate ?rel FILTER contains(lcase(str(?o)), \"netherlands\") }"}, "answers": {"rel": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "2008-01-30"}}, "entities": [{"URI": "http://dbpedia.org/resource/Worst-case_scenario", "surface form": "movie Worst Case Scenario"}, {"URI": "http://dbpedia.org/resource/Netherlands", "surface form": "Netherlands"}], "relations": [{"URI": "http://dbpedia.org/ontology/picture", "surface form": "cinemas"}]}, {"id": "353", "question": [{"language": "en", "string": "Which weapons did Heckler & Koch develop?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Weapon> ; <http://dbpedia.org/property/designer> <http://dbpedia.org/resource/Heckler_&_Koch> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Ak_4_rifle"}}, "entities": [{"URI": "http://dbpedia.org/resource/Heckler_&_Koch", "surface form": "Heckler & Koch"}], "relations": [{"URI": "http://dbpedia.org/ontology/numberOfSeasons", "surface form": "weapons"}, {"URI": "http://dbpedia.org/ontology/product", "surface form": "develop"}]}, {"id": "354", "question": [{"language": "en", "string": "Where is Fort Knox located?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Fort_Knox> <http://dbpedia.org/ontology/location> ?uri. ?uri a <http://dbpedia.org/ontology/Place>. }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Kentucky"}}, "entities": [{"URI": "http://dbpedia.org/resource/Fort_Knox", "surface form": "Fort Knox"}], "relations": [{"URI": "http://dbpedia.org/property/location", "surface form": "located"}]}, {"id": "357", "question": [{"language": "en", "string": "When was Jack Wolfskin founded?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT xsd:date(?year) WHERE { res:Jack_Wolfskin dbo:foundingYear ?year }"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1981-01-01"}}, "entities": [{"URI": "http://dbpedia.org/resource/Jack_Wolfskin", "surface form": "Jack Wolfskin"}], "relations": [{"URI": "http://dbpedia.org/ontology/foundingYear", "surface form": "founded"}]}, {"id": "358", "question": [{"language": "en", "string": "In which studio did the Beatles record their first album?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX db: <http://dbpedia.org/> SELECT ?studio WHERE { ?album dbo:artist dbr:The_Beatles ; rdf:type dbo:Album ; dbo:releaseDate ?date ; dbp:studio ?studio } ORDER BY ASC(?date) LIMIT 1"}, "answers": {"studio": {"type": "literal", "xml:lang": "en", "value": "EMI, London"}}, "entities": [{"URI": "http://dbpedia.org/resource/Beatles_VI", "surface form": "Beatles"}], "relations": [{"URI": "http://dbpedia.org/property/studio", "surface form": "studio"}, {"URI": "http://dbpedia.org/ontology/recordLabel", "surface form": "record"}, {"URI": "http://dbpedia.org/ontology/album", "surface form": "album"}]}, {"id": "360", "question": [{"language": "en", "string": "How deep is Lake Chiemsee?"}], "query": {"sparql": "SELECT DISTINCT ?n WHERE { <http://dbpedia.org/resource/Chiemsee> <http://dbpedia.org/ontology/maximumDepth> ?n }"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "72.7"}}, "entities": [{"URI": "http://dbpedia.org/resource/Chiemsee", "surface form": "Lake Chiemsee"}], "relations": [{"URI": "http://dbpedia.org/ontology/capital", "surface form": "deep"}]}, {"id": "361", "question": [{"language": "en", "string": "Give me the grandchildren of Elvis Presley."}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Elvis_Presley dbo:child ?child . ?child dbo:child ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Riley_Keough"}}, "entities": [{"URI": "http://dbpedia.org/resource/Elvis_Presley", "surface form": "Elvis Presley"}], "relations": [{"URI": "http://dbpedia.org/ontology/child", "surface form": "grandchildren"}]}, {"id": "363", "question": [{"language": "en", "string": "When was Olof Palme shot?"}], "query": {"sparql": "SELECT DISTINCT ?date WHERE { <http://dbpedia.org/resource/Olof_Palme> <http://dbpedia.org/ontology/deathDate> ?date }"}, "answers": {"date": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1986-02-28"}}, "entities": [{"URI": "http://dbpedia.org/resource/Olof_Palme", "surface form": "Olof Palme"}], "relations": [{"URI": "http://dbpedia.org/ontology/discharge", "surface form": "shot"}]}, {"id": "366", "question": [{"language": "en", "string": "How high is the lighthouse in Colombo?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Colombo_Lighthouse dbo:height ?num }"}, "answers": {"num": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "15.0"}}, "entities": [{"URI": "http://dbpedia.org/resource/Colombo_Lighthouse", "surface form": "Lighthouse in Colombo"}], "relations": [{"URI": "http://dbpedia.org/ontology/height", "surface form": "high"}]}, {"id": "369", "question": [{"language": "en", "string": "Give me all Seven Wonders of the Ancient World."}], "query": {"sparql": "PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> SELECT ?uri WHERE { ?uri dct:subject dbc:Seven_Wonders_of_the_Ancient_World }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Temple_of_Artemis"}}, "entities": [{"URI": "http://dbpedia.org/resource/Seven_Wonders_of_the_Ancient_World", "surface form": "Seven Wonders of the Ancient World"}], "relations": []}, {"id": "370", "question": [{"language": "en", "string": "Give me all chemical elements."}], "query": {"sparql": "PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX owl: <http://www.w3.org/2002/07/owl#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type owl:Thing ; dct:subject dbc:Chemical_elements }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Aluminium"}}, "entities": [{"URI": "http://dbpedia.org/resource/Sand_casting", "surface form": "chemical elements"}], "relations": []}, {"id": "371", "question": [{"language": "en", "string": "How many rivers and lakes are in South Carolina?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT (COUNT(DISTINCT ?uri) AS ?count) WHERE { { ?uri dbo:location dbr:South_Carolina ; rdf:type dbo:Lake } UNION { ?uri dct:subject dbc:Rivers_and_streams_of_South_Carolina } }"}, "answers": {"count": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "14"}}, "entities": [{"URI": "http://dbpedia.org/resource/South_Carolina", "surface form": "South Carolina"}], "relations": [{"URI": "http://dbpedia.org/ontology/river", "surface form": "rivers"}, {"URI": "http://dbpedia.org/ontology/lake", "surface form": "lakes"}]}, {"id": "373", "question": [{"language": "en", "string": "How many theories did Albert Einstein come up with?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT (COUNT(?uri) AS ?count) WHERE { dbr:Albert_Einstein dbo:knownFor ?uri }"}, "answers": {"count": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "15"}}, "entities": [{"URI": "http://dbpedia.org/resource/Theories_of_cloaking", "surface form": "theories"}, {"URI": "http://dbpedia.org/resource/Albert_Einstein", "surface form": "Albert Einstein"}], "relations": []}, {"id": "374", "question": [{"language": "en", "string": "What form of government is found in South Africa?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?uri WHERE { dbr:South_Africa dbo:governmentType ?uri }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Unitary_state"}}, "entities": [{"URI": "http://dbpedia.org/resource/South_Africa", "surface form": "South Africa"}], "relations": [{"URI": "http://dbpedia.org/ontology/type", "surface form": "form"}, {"URI": "http://dbpedia.org/ontology/government", "surface form": "government"}]}, {"id": "377", "question": [{"language": "en", "string": "What is the wavelength of indigo?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?n WHERE { dbr:Indigo dbo:wavelength ?n }"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "4.2e-07"}}, "entities": [{"URI": "http://dbpedia.org/resource/Indigo", "surface form": "indigo"}], "relations": [{"URI": "http://dbpedia.org/ontology/wavelength", "surface form": "wavelength"}]}, {"id": "378", "question": [{"language": "en", "string": "What was the name of the famous battle in 1836 in San Antonio?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?uri WHERE { ?uri a dbo:MilitaryConflict ; dbo:place dbr:San_Antonio ; dbo:date ?date FILTER ( ?date > \"1835-12-31T00:00:00Z\"^^xsd:dateTime ) FILTER ( ?date <= \"1836-12-31T00:00:00Z\"^^xsd:dateTime ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Battle_of_the_Alamo"}}, "entities": [{"URI": "http://dbpedia.org/resource/1836", "surface form": "1836"}, {"URI": "http://dbpedia.org/resource/San_Antonio", "surface form": "San Antonio"}], "relations": [{"URI": "http://dbpedia.org/property/name", "surface form": "name"}, {"URI": "http://dbpedia.org/ontology/motto", "surface form": "famous battle"}]}, {"id": "379", "question": [{"language": "en", "string": "What were the names of the three ships used by Columbus?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?uri WHERE { ?uri rdf:type dbo:Ship ; dct:subject dbc:Christopher_Columbus ; dct:subject dbc:Exploration_ships }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Pinta_(ship)"}}, "entities": [{"URI": "http://dbpedia.org/resource/Columbus", "surface form": "Columbus"}], "relations": [{"URI": "http://dbpedia.org/ontology/title", "surface form": "names"}, {"URI": "http://dbpedia.org/ontology/shipBeam", "surface form": "ships"}]}, {"id": "381", "question": [{"language": "en", "string": "When was the De Beers company founded?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT xsd:date(?date) WHERE { res:De_Beers dbo:foundingYear ?date }"}, "answers": {"callret-0": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1888-01-01"}}, "entities": [{"URI": "http://dbpedia.org/resource/De_Beers", "surface form": "De Beers company"}], "relations": [{"URI": "http://dbpedia.org/ontology/foundedBy", "surface form": "founded"}]}, {"id": "382", "question": [{"language": "en", "string": "When was John Adams born?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:John_Adams dbo:birthDate ?date }"}, "answers": {"date": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1735-10-30"}}, "entities": [{"URI": "http://dbpedia.org/resource/John_Adams", "surface form": "John Adams"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthDate", "surface form": "born"}]}, {"id": "385", "question": [{"language": "en", "string": "Which holidays are celebrated around the world?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Holiday }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/1981_Handsworth_riots"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/feastDay", "surface form": "holidays"}, {"URI": "http://dbpedia.org/ontology/party", "surface form": "celebrated"}]}, {"id": "386", "question": [{"language": "en", "string": "Who assassinated President McKinley?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Person ; dct:subject dbc:American_assassins ; dct:subject dbc:Assassination_of_William_McKinley }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Leon_Czolgosz"}}, "entities": [{"URI": "http://dbpedia.org/resource/President_McKinley_Inauguration_Footage", "surface form": "Assassinated President McKinley"}], "relations": []}, {"id": "392", "question": [{"language": "en", "string": "How big is the earth's diameter?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT (( xsd:double(?radius) * 2 ) AS ?diameter) WHERE { res:Earth dbo:meanRadius ?radius }"}, "answers": {"diameter": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "1.2742e+07"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/ground", "surface form": "earth"}, {"URI": "http://dbpedia.org/ontology/diameter", "surface form": " diameter"}]}, {"id": "393", "question": [{"language": "en", "string": "How many people live in Eurasia?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?population WHERE { res:Eurasia dbo:populationTotal ?population }"}, "answers": {"population": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "5360351985"}}, "entities": [{"URI": "http://dbpedia.org/resource/Eurasia", "surface form": "Eurasia"}], "relations": [{"URI": "http://dbpedia.org/ontology/populationTotal", "surface form": "live"}]}, {"id": "399", "question": [{"language": "en", "string": "Who is the author of the interpretation of dreams?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?Author WHERE { dbr:The_Interpretation_of_Dreams dbo:author ?Author }"}, "answers": {"Author": {"type": "uri", "value": "http://dbpedia.org/resource/Sigmund_Freud"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/author", "surface form": "author"}, {"URI": "http://dbpedia.org/ontology/meaning", "surface form": "interpretation"}, {"URI": "http://dbpedia.org/ontology/picture", "surface form": "dreams"}]}, {"id": "400", "question": [{"language": "en", "string": "What is the birth name of Adele?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?bn WHERE { dbr:Adele dbo:birthName ?bn }"}, "answers": {"bn": {"type": "literal", "xml:lang": "en", "value": "Adele Laurie Blue Adkins"}}, "entities": [{"URI": "http://dbpedia.org/resource/Adele", "surface form": "Adele"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthName", "surface form": "birth name"}]}, {"id": "404", "question": [{"language": "en", "string": "how much is the elevation of D\u00fcsseldorf Airport ?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?ele WHERE { dbr:D\u00fcsseldorf_Airport dbo:elevation ?ele } LIMIT 1"}, "answers": {"ele": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "44.8"}}, "entities": [{"URI": "http://dbpedia.org/resource/D\u00fcsseldorf_Airport", "surface form": "D\u00fcsseldorf Airport"}], "relations": [{"URI": "http://dbpedia.org/ontology/elevation", "surface form": "elevation"}]}, {"id": "405", "question": [{"language": "en", "string": "how much is the total population of european union?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?europop WHERE { dbr:European_Union dbo:populationTotal ?europop }"}, "answers": {"europop": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "447007596"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/totalPopulation", "surface form": "total population"}, {"URI": "http://dbpedia.org/ontology/league", "surface form": "european union"}]}, {"id": "406", "question": [{"language": "en", "string": "how many foreigners speak German?"}], "query": {"sparql": "PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT ?Ger_lang WHERE { dbr:German_language dbp:speakers ?Ger_lang } OFFSET 1 LIMIT 1"}, "answers": {"Ger_lang": {"type": "literal", "xml:lang": "en", "value": "L2 speakers: 80\u201385 million"}}, "entities": [{"URI": "http://dbpedia.org/resource/Foreigners_out!_Schlingensiefs_Container", "surface form": "foreigners"}, {"URI": "http://dbpedia.org/resource/Germany", "surface form": "German"}, {"URI": "http://dbpedia.org/resource/German", "surface form": "German"}], "relations": [{"URI": "http://dbpedia.org/ontology/language", "surface form": "speak"}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}, {"URI": "http://dbpedia.org/ontology/country", "surface form": ""}]}, {"id": "407", "question": [{"language": "en", "string": "Where is the birthplace of Goethe?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?Goethe WHERE { dbr:Johann_Wolfgang_von_Goethe dbo:birthPlace ?Goethe }"}, "answers": {"Goethe": {"type": "uri", "value": "http://dbpedia.org/resource/Holy_Roman_Empire"}}, "entities": [{"URI": "http://dbpedia.org/resource/Goethe_Prize", "surface form": "Goethe"}], "relations": [{"URI": "http://dbpedia.org/ontology/birthPlace", "surface form": "birthplace"}]}, {"id": "408", "question": [{"language": "en", "string": "Where is the origin of Carolina reaper?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/>PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?uri WHERE { dbr:Carolina_Reaper dbo:origin ?uri}"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Rock_Hill,_South_Carolina"}}, "entities": [{"URI": "http://dbpedia.org/resource/Carolina_Reaper", "surface form": "Carolina reaper"}], "relations": [{"URI": "http://dbpedia.org/ontology/origin", "surface form": "origin"}]}, {"id": "412", "question": [{"language": "en", "string": "What is the percentage of area water in Brazil?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?percentage WHERE { dbr:Brazil dbo:percentageOfAreaWater ?percentage }"}, "answers": {"percentage": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#float", "value": "0.65"}}, "entities": [{"URI": "http://dbpedia.org/resource/Brazil", "surface form": "Brazil"}], "relations": [{"URI": "http://dbpedia.org/ontology/percentageOfAreaWater", "surface form": "percentage"}, {"URI": "http://dbpedia.org/ontology/percentageOfAreaWater", "surface form": "area water"}]}, {"id": "414", "question": [{"language": "en", "string": "What is the population of Cairo?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?pop WHERE { dbr:Cairo dbo:populationTotal ?pop }"}, "answers": {"pop": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "10025657"}}, "entities": [{"URI": "http://dbpedia.org/resource/Cairo", "surface form": "Cairo"}], "relations": [{"URI": "http://dbpedia.org/ontology/populationTotal", "surface form": "population"}]}, {"id": "419", "question": [{"language": "en", "string": "When was the death of Shakespeare?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?x WHERE { dbr:William_Shakespeare dbo:deathDate ?x } LIMIT 1"}, "answers": {"x": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "1616-04-23"}}, "entities": [{"URI": "http://dbpedia.org/resource/William_Shakespeare", "surface form": "Shakespeare"}], "relations": [{"URI": "http://dbpedia.org/ontology/deathDate", "surface form": "death"}]}, {"id": "424", "question": [{"language": "en", "string": "Who is the current federal minister of finance in Germany?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?leader WHERE { <http://dbpedia.org/resource/Federal_Ministry_of_Finance_(Germany)> dbo:leader ?leader }"}, "answers": {"leader": {"type": "uri", "value": "http://dbpedia.org/resource/Katja_Hessel"}}, "entities": [{"URI": "http://dbpedia.org/resource/Current_prime_minister_of_Canada", "surface form": "current federal minister"}, {"URI": "http://dbpedia.org/resource/Germany", "surface form": "Germany"}], "relations": [{"URI": "http://dbpedia.org/ontology/operator", "surface form": "finance"}]}, {"id": "430", "question": [{"language": "en", "string": "When was the last episode of the TV series Friends aired?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?date WHERE { dbr:Friends dbo:completionDate ?date }"}, "answers": {"date": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#date", "value": "2004-05-06"}}, "entities": [{"URI": "http://dbpedia.org/resource/Tv_test_pattern", "surface form": "TV"}, {"URI": "http://dbpedia.org/resource/Thomas_&_Friends_(series_18)", "surface form": "series Friends"}], "relations": [{"URI": "http://dbpedia.org/ontology/type", "surface form": "episode"}, {"URI": "http://dbpedia.org/property/firstAired", "surface form": "aired"}]}, {"id": "431", "question": [{"language": "en", "string": "What is Angela Merkel\u2019s birth name?"}], "query": {"sparql": "PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?string WHERE { res:Angela_Merkel dbp:birthName ?string }"}, "answers": {"string": {"type": "literal", "xml:lang": "en", "value": "Angela Dorothea Kasner"}}, "entities": [{"URI": "http://dbpedia.org/resource/Name_at_birth", "surface form": "Angela Merkel\u2019s birth name"}], "relations": []}, {"id": "433", "question": [{"language": "en", "string": "How many James Bond movies do exist?"}], "query": {"sparql": "SELECT (COUNT(DISTINCT ?uri) AS ?c) WHERE { ?uri dct:subject <http://dbpedia.org/resource/Category:James_Bond_films> }"}, "answers": {"c": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "29"}}, "entities": [{"URI": "http://dbpedia.org/resource/M_(James_Bond)", "surface form": "James Bond movies"}], "relations": [{"URI": "http://dbpedia.org/property/last", "surface form": "exist"}]}, {"id": "435", "question": [{"language": "en", "string": "What is the wavelength of Indigo?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?n WHERE { dbr:Indigo dbo:wavelength ?n }"}, "answers": {"n": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#double", "value": "4.2e-07"}}, "entities": [{"URI": "http://dbpedia.org/resource/Indigo", "surface form": "Indigo"}], "relations": [{"URI": "http://dbpedia.org/ontology/wavelength", "surface form": "wavelength"}]}, {"id": "437", "question": [{"language": "en", "string": "In which city is the headquarter of Air China?"}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Air_China> <http://dbpedia.org/ontology/headquarter> ?uri . ?uri a <http://dbpedia.org/class/yago/City108524735> }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Beijing"}}, "entities": [{"URI": "http://dbpedia.org/resource/Air_China", "surface form": "Air China"}], "relations": [{"URI": "http://dbpedia.org/ontology/city", "surface form": "city"}, {"URI": "http://dbpedia.org/ontology/headquarter", "surface form": "headquarter"}]}, {"id": "438", "question": [{"language": "en", "string": "Give me all libraries established before 1400."}], "query": {"sparql": "SELECT DISTINCT ?uri WHERE { ?uri a <http://dbpedia.org/ontology/Library> ; <http://dbpedia.org/property/established> ?year FILTER ( ?year < 1400 ) }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/Library_of_Pergamum"}}, "entities": [{"URI": "http://dbpedia.org/resource/Libraries_in_Brighton_and_Hove", "surface form": "libraries"}, {"URI": "http://dbpedia.org/resource/1400", "surface form": "1400"}], "relations": [{"URI": "http://dbpedia.org/ontology/established", "surface form": "established"}]}, {"id": "442", "question": [{"language": "en", "string": "How much is the population of mexico city ?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?Mexico_City WHERE { dbr:Mexico_City dbo:populationTotal ?Mexico_City }"}, "answers": {"Mexico_City": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "9209944"}}, "entities": [], "relations": [{"URI": "http://dbpedia.org/ontology/country", "surface form": "population"}, {"URI": "http://dbpedia.org/ontology/municipality", "surface form": "mexico city"}]}, {"id": "444", "question": [{"language": "en", "string": "how much is the population Iraq?"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> SELECT ?pIraq WHERE { dbr:Iraq dbo:populationTotal ?pIraq }"}, "answers": {"pIraq": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "value": "44222503"}}, "entities": [{"URI": "http://dbpedia.org/resource/Population", "surface form": "population Iraq"}], "relations": []}, {"id": "445", "question": [{"language": "en", "string": "how much is the population densty rank of germany?"}], "query": {"sparql": "PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT ?rank WHERE { dbr:Germany dbp:populationDensityRank ?rank }"}, "answers": {"rank": {"type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "58"}}, "entities": [{"URI": "http://dbpedia.org/resource/RANK", "surface form": "population densty rank"}, {"URI": "http://dbpedia.org/resource/Germany", "surface form": "germany"}], "relations": []}, {"id": "446", "question": [{"language": "en", "string": "Which holidays are celebrated around the world? test2"}], "query": {"sparql": "PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type dbo:Holiday }"}, "answers": {"uri": {"type": "uri", "value": "http://dbpedia.org/resource/1981_Handsworth_riots"}}, "entities": [{"URI": "http://dbpedia.org/resource/Testa", "surface form": "test2"}], "relations": [{"URI": "http://dbpedia.org/ontology/feastDay", "surface form": "holidays"}, {"URI": "http://dbpedia.org/ontology/party", "surface form": "celebrated"}]}]}
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
import sys
import json
import random
if __name__ == "__main__":
if len(sys.argv) != 3:
print("Usage: python train-test-split.py <train_percentage> <input_file>")
sys.exit(1)
train_percentage = int(sys.argv[1])
input_file = sys.argv[2]
file_name = input_file.split(".json")[0]
questions = []
with open(input_file, "r") as f:
data = json.load(f)
questions = data["questions"]
train_size = int(len(questions) * train_percentage / 100)
test_size = len(questions) - train_size
train_questions = random.choices(questions, k=train_size)
test_questions = [q for q in questions if q not in train_questions]
train_data = {"questions": train_questions}
test_data = {"questions": test_questions}
with open(file_name + "-train.json", "w") as f:
json.dump(train_data, f)
with open(file_name + "-test.json", "w") as f:
json.dump(test_data, f)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment